Q3Group_CountObjectsOfType
You can use theQ3Group_CountObjectsOfTypefunction to determine how many objects of a particular type a group contains.
TQ3Status Q3Group_CountObjectsOfType ( TQ3GroupObject group, TQ3ObjectType isType, unsigned long *nObjects);
group- A group.
isType- An object type.
nObjects- On exit, a pointer to the number of objects in the specified group that have the specified type.
DESCRIPTION
TheQ3Group_CountObjectsOfTypefunction returns, in thenObjectsparameter, the number of objects contained in the group specified by thegroupparameter that have the object type specified by theisTypeparameter. The object type can be either a parent class (for example,kQ3SharedType_Shape) or a leaf class (for example,EcGeometryType_Box).ERRORS
kQ3ErrorInvalidObject
kQ3ErrorNULLParameter
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help