#include <CoreLinuxAssociativeIterator.hpp>

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. | ||||
| corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >::CoreLinuxAssociativeIterator | ( | TraverseType | aBegin, | |
| TraverseType | aEnd | |||
| ) | [inline] |
Initializing constructor.
| TraverseType | aBegin first position | |
| TraverseType | aEnd last position |
| corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >::CoreLinuxAssociativeIterator | ( | const CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType > & | aRef | ) | [inline] |
| CoreLinuxAssociativeIterator& corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >::operator= | ( | const CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType > & | aRef | ) | [inline] |
Assignment operator.
| CoreLinuxAssociativeIterator | const reference |
References corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >::theBegin, corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >::theCurrent, and corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >::theEnd.
| bool corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >::operator== | ( | const CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType > & | aRef | ) | const [inline] |
Equality operator.
| CoreLinuxAssociativeIterator | const reference |
References corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >::theBegin, and corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >::theEnd.
| virtual bool corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >::isValid | ( | void | ) | const [inline, virtual] |
isValid implementation for determining if the current position points to a valid EntityType instance
Implements corelinux::Iterator< ElementType >.
References corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >::theCurrent, and corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >::theEnd.
Referenced by corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >::getElement(), and corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >::getKey().
| virtual ElementType corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >::getElement | ( | void | ) | const throw (IteratorBoundsException) [inline, virtual] |
getElement returns the ElementType instance that is currently managed by the CoreLinuxAssociativeIterator
| IteratorBoundsException | if the AssociativeIterator is not positioned correctley. |
Implements corelinux::Iterator< ElementType >.
References corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >::isValid().
| virtual KeyType corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >::getKey | ( | void | ) | const throw (IteratorBoundsException) [inline, virtual] |
getKey returns the KeyType instance that is currently pointed to by the AssociativeIterator
| IteratorBoundsException | if the AssociativeIterator is not positioned correctly. |
Implements corelinux::AssociativeIterator< KeyType, ElementType >.
References corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >::isValid().