1 Managing Sets

1 Q3Set_GetNextElementType

You can use the Q3Set_GetNextElementType function to iterate through the elements in a set.

TQ3Status Q3Set_GetNextElementType (
TQ3SetObject set, 
TQ3ElementType *type);
set A set object.
type On entry, an element type, or kQ3ElementTypeNone to get the first element type in the specified set. On exit, the element type that immediately follows the specified element type in the set, or kQ3ElementTypeNone if there are no more element types.

DESCRIPTION


The Q3Set_GetNextElementType function returns, in the type parameter, the type of the element that immediately follows the element having the type specified by the type parameter in the set specified by the set parameter. To get the type of the first element in the set, pass kQ3ElementTypeNone in the type parameter. Q3Set_GetNextElementType returns kQ3ElementTypeNone when it has reached the end of the list of elements.

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 14 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker