SEDRIS Reference Manual
APPENDIX A - LEVEL 0 READ and WRITE API Functions SE GetNextObject |
---|
extern SE_Status_Code | |||
SE_GetNextObject | |||
( | |||
SE_Iterator | iterator, | (notes) | |
SE_Object | * | next_object_out_ptr, | (notes) |
SE_Object | * | link_class_object_out_ptr | (notes) |
); |
Iterates over objects available through an iterator.
This function returns the following two items (via out parameters):
SE_STAT_CODE_SUCCESS | and *next_object_out_ptr is set to point to the next object from the iterator, and *link_class_object_out_ptr is set appropriately if provided, if valid parameters were passed in and either no inter-transmittal references (ITRs) were encountered in searching for the next object, or the iterator is configured to ignore ITR. |
SE_STAT_CODE_DIFFERENT_TRANSMITTAL | and the output parameter values are set as for
SE_STAT_CODE_SUCCESS, if
|
SE_STAT_CODE_NULL_REQUIRED_PARAMETER | and the output parameter values are left unaltered, if next_object_out_ptr was NULL. |
SE_STAT_CODE_UNRESOLVED_OBJECT | and the output parameters are set to NULL, if valid parameters were passed in, an ITR reference was encountered in searching for the next object, and either the iterator is configured to automatically resolve ITR references but was unable to do so, or it is configured to stop at ITR references. |
SE_STAT_CODE_NO_OBJECT | and the output parameters are set as for SE_STAT_CODE_UNRESOLVED_OBJECT, if the iterator is out of objects to return. |
SE_STAT_CODE_OUT_OF_MEMORY | and the output parameters are set as for SE_STAT_CODE_UNRESOLVED_OBJECT, if the API cannot allocate memory for the next object to be returned. |
SE_STAT_CODE_FAILURE | and the output parameter values are set as for
SE_STAT_CODE_UNRESOLVED_OBJECT, if
|
the iterator whose next object is being requested.
a pointer to a variable in the user's memory space, into which the next object of the iterator will be copied.
a pointer to a variable in the user's memory space, into which then link object traversed to reach the 'next object' will be copied. If no association class object was attached to the link used to reach the next object, then *link_class_object_out_ptr will be set to NULL.
Prev: SE_GetIterationLengthRemaining.
Next: SE_GetNthAssociateOfDRMClass.
Up:Index.
|