#include <CoreLinuxAssociativeIterator.hpp>
Inheritance diagram for corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >:
Public Member Functions | ||||
CoreLinuxAssociativeIterator (void) throw (InvalidIteratorException) | ||||
Default constructor
| ||||
CoreLinuxAssociativeIterator (TraverseType aBegin, TraverseType aEnd) | ||||
Initializing constructor. | ||||
CoreLinuxAssociativeIterator (const CoreLinuxAssociativeIterator &aRef) | ||||
Copy constructor. | ||||
virtual | ~CoreLinuxAssociativeIterator (void) | |||
Destructor. | ||||
CoreLinuxAssociativeIterator & | operator= (const CoreLinuxAssociativeIterator &aRef) | |||
Assignment operator. | ||||
bool | operator== (const CoreLinuxAssociativeIterator &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 CoreLinuxAssociativeIterator | ||||
virtual KeyType | getKey (void) const throw (IteratorBoundsException) | |||
getKey returns the KeyType instance that is currently pointed to by the AssociativeIterator | ||||
virtual void | setFirst (void) | |||
Set AssociativeIterator to first element. | ||||
virtual void | setNext (void) throw (IteratorBoundsException) | |||
Set AssociativeIterator to next element
| ||||
virtual void | setPrevious (void) throw (IteratorBoundsException) | |||
Set AssociativeIterator to previous element
| ||||
virtual void | setLast (void) throw (IteratorBoundsException) | |||
Set AssociativeIterator to last element. | ||||
Protected Attributes | ||||
TraverseType | theBegin | |||
The first position. | ||||
TraverseType | theEnd | |||
The last position. | ||||
TraverseType | theCurrent | |||
The current position. |
|
Initializing constructor.
|
|
Copy constructor.
|
|
getElement returns the ElementType instance that is currently managed by the CoreLinuxAssociativeIterator
Implements corelinux::Iterator< ElementType >. |
|
getKey returns the KeyType instance that is currently pointed to by the AssociativeIterator
Implements corelinux::AssociativeIterator< KeyType, ElementType >. |
|
isValid implementation for determining if the current position points to a valid EntityType instance
Implements corelinux::Iterator< ElementType >. |
|
Assignment operator.
|
|
Equality operator.
|