#include <CoreLinuxIterator.hpp>
Inheritance diagram for corelinux::CoreLinuxIterator
Public Methods | |
CoreLinuxIterator ( void ) throw (InvalidIteratorException) | |
Default constructor. More... | |
CoreLinuxIterator ( TraverseType aBegin, TraverseType aEnd ) | |
Initializing constructor. More... | |
CoreLinuxIterator ( const CoreLinuxIterator &aRef ) | |
Copy constructor. More... | |
virtual | ~CoreLinuxIterator ( void ) |
Destructor. | |
CoreLinuxIterator& | operator= ( const CoreLinuxIterator & aRef ) |
Assignment operator. More... | |
bool | operator== ( const CoreLinuxIterator & aRef ) const |
Equality operator. More... | |
virtual bool | isValid ( void ) const |
isValid implementation for determining if the current position points to a valid EntityType instance. More... | |
virtual ElementType | getElement ( void ) const throw (IteratorBoundsException) |
getElement returns the ElementType instance that is currently managed by the CoreLinuxIterator. More... | |
virtual void | setFirst ( void ) |
Set iterator to first element. | |
virtual void | setNext ( void ) throw (IteratorBoundsException) |
Set iterator to next element. More... | |
virtual void | setPrevious ( void ) throw (IteratorBoundsException) |
Set iterator to previous element. More... | |
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.
|
Default constructor.
|
|
Initializing constructor.
|
|
Copy constructor.
|
|
getElement returns the ElementType instance that is currently managed by the CoreLinuxIterator.
Reimplemented from corelinux::Iterator. |
|
isValid implementation for determining if the current position points to a valid EntityType instance.
Reimplemented from corelinux::Iterator. |
|
Assignment operator.
|
|
Equality operator.
|
|
Set iterator to next element.
Reimplemented from corelinux::Iterator. |
|
Set iterator to previous element.
Reimplemented from corelinux::Iterator. |