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