Function
Returns by index only those parts belonging to the specified class.
Syntax
#include <dx/dx.h>
Object DXGetPartClass(Object o, int n, Class class)
Functional Details
Performs a depth-first traversal of the Object o and returns a reference to the nth (n>= 0) occurrence of a subObject with the requested class. The parts of a group may be enumerated by calling DXGetPartClass with successive values of n starting at 0 until NULL is returned.
For applying a function to every Field in a Group, DXProcessParts is a more efficient interface.
Return Value Returns the nth subObject of the requested class or returns NULL.
See Also
DXGetPart, DXProcessParts, DXSetPart