SEDRIS Reference Manual
APPENDIX A - Transmittal Access Level 0 API
Functions
SE IsIteratorComplete
extern SE_Boolean
SE_IsIteratorComplete
(
SE_Iterator iter (notes)
);

Definition

Indicates whether the given SE_Iterator is empty (that is, whether any SE_Object is left to be returned by that iterator).

Note that this function does not return an SE_Return_Code, so its behaviour does not distinguish between having received valid and invalid input. If for some reason iter is not valid, the user will 'get an indication of this' when the user attempts to retrieve the next SE_Object from iter; SE_IsIteratorComplete()'s behaviour is undefined for the invalid input case.


Returns

SE_TRUE if iter is empty
SE_FALSE if iter is not empty

Status Codes

SE_Status_Code(s) when SE_RET_CODE_SUCCESS is returned:

SE_STAT_CODE_SUCCESS set if call was successful.

SE_Status_Code(s) when SE_RET_CODE_FAILURE is returned:

SE_STAT_CODE_INACTIONABLE_FAILURE set if call fails for any reason.


Parameters Notes


iter

 the SE_Iterator to be tested


Prev: SE_InitializeInheritedComponentIterator. Next: SE_ObjectIsPublished. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS