10 Managing Groups
Q3Group_CountObjectsOfType
function 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.
Q3Group_CountObjectsOfType
function returns, in the nObjects
parameter, the number of objects contained in the group specified by the group
parameter that have the object type specified by the isType
parameter. The object type can be either a parent class (for example, kQ3SharedType_Shape
) or a leaf class (for example, EcGeometryType_Box
).kQ3ErrorInvalidObject
kQ3ErrorNULLParameter
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker