#include <CoreLinuxIterator.hpp>
Inheritance diagram for corelinux::CoreLinuxIterator< TraverseType, ElementType >:
Public Member Functions | ||||
CoreLinuxIterator (void) throw (InvalidIteratorException) | ||||
Default constructor
| ||||
CoreLinuxIterator (TraverseType aBegin, TraverseType aEnd) | ||||
Initializing constructor. | ||||
CoreLinuxIterator (const CoreLinuxIterator &aRef) | ||||
Copy constructor. | ||||
virtual | ~CoreLinuxIterator (void) | |||
Destructor. | ||||
CoreLinuxIterator & | operator= (const CoreLinuxIterator &aRef) | |||
Assignment operator. | ||||
bool | operator== (const CoreLinuxIterator &aRef) const | |||
Equality operator. | ||||
virtual bool | isValid (void) const | |||
isValid implementation for determining if the current position points to a valid EntityType instance | ||||
virtual ElementType | getElement (void) const throw (IteratorBoundsException) | |||
getElement returns the ElementType instance that is currently managed by the CoreLinuxIterator | ||||
virtual void | setFirst (void) | |||
Set iterator to first element. | ||||
virtual void | setNext (void) throw (IteratorBoundsException) | |||
Set iterator to next element
| ||||
virtual void | setPrevious (void) throw (IteratorBoundsException) | |||
Set iterator to previous element
| ||||
virtual void | setLast (void) throw (IteratorBoundsException) | |||
Set iterator to last element. | ||||
Protected Attributes | ||||
TraverseType | theBegin | |||
The first position. | ||||
TraverseType | theEnd | |||
The last position. | ||||
TraverseType | theCurrent | |||
The current position. |
By defining a CoreLinuxIterator with a CORELINUX_COLLECTION nameIterator definition and the Element Type.
|
Initializing constructor.
|
|
Copy constructor.
|
|
getElement returns the ElementType instance that is currently managed by the CoreLinuxIterator
Implements corelinux::Iterator< ElementType >. |
|
isValid implementation for determining if the current position points to a valid EntityType instance
Implements corelinux::Iterator< ElementType >. |
|
Assignment operator.
|
|
Equality operator.
|