Mission Base

Program Base Library Functions

int pblIteratorHasNext

( PblIterator* iterator )

Returns true if this iterator has more elements.

Documentation

Returns true if this iterator has more elements.

In other words, returns a value > 0 if pblIteratorNext would return an element rather than returning (void*)-1.

This method has a time complexity of O(1).

Parameters:
iterator - The iterator to check the next element for
Returns:
int rc > 0: The iterator has more elements.
int rc == 0: The iteration has no more elements.
int rc < 0: An error, see pbl_errno:
PBL_ERROR_CONCURRENT_MODIFICATION - The underlying collection was modified concurrently.

Alphabetic index



This page was generated with the help of DOC++.