IEIterator (interface)
Usage
Linkage:
-lopenxds_adt
To use the interface:
#include <openxds.adt/IEIterator.h> using namespace openxds::adt;
Method Summary
Returns | Method-name | Throws |
---|---|---|
void | reset | |
IEntry(E)* | next | NoSuchElementException* |
bool | hasNext |
Methods
reset
void reset();
Causes
The iterator to be reset such that a call to next will return the first entry of the iteration.
hasNext
bool hasNext();
Returns
TRUE, if another entry could be returned by a call to next; otherwise FALSE.
next
IEntry<E>* next() throw (NoSuchElementException*);
Returns
A new IEntry instance, that the user is responsible for deallocating.
Throws
NoSuchElementException, if the iterator has no more items.