Example 2: Traversing Iterators
SE_STATUS_CODE_ENUM SE_GetNextObject
- Objects can be sequentially retrieved from Iterators using the API function SE_GetNextObject().
- SE_OBJECTS are allocated and must be freed.
- If the component relationship has a link object, the object is returned in the third argument.
- Returns SE_NO_OBJECT at the end of the Iterator.
- SE_GetIterationLengthRemaining() returns the number of objects left in an Iterator.
SE_STATUS_CODE_ENUM SE_GetIterationLengthRemaining
SE_UINT32 *num_remaining_objects