#include <Iterator.hpp>
Inheritance diagram for corelinux::Iterator< ElementType >:
Public Member Functions | ||||
Iterator (void) | ||||
Default constructor. | ||||
Iterator (const Iterator &aRef) | ||||
Copy constructor. | ||||
virtual | ~Iterator (void) | |||
Destructor. | ||||
Iterator & | operator= (const Iterator &) | |||
Assignment operator. | ||||
bool | operator== (const Iterator &aRef) const | |||
Equality operator. | ||||
virtual bool | isValid (void) const =0 | |||
isValid abstract interface for implementation to determine if the current position points to a valid EntityType instance | ||||
virtual ElementType | getElement (void) const =0 throw (IteratorBoundsException) | |||
getElement returns the ElementType instance that is currently pointed to by the Iterator | ||||
virtual void | setFirst (void)=0 | |||
Set iterator to first element. | ||||
virtual void | setNext (void)=0 throw (IteratorBoundsException) | |||
Set iterator to next element
| ||||
virtual void | setPrevious (void)=0 throw (IteratorBoundsException) | |||
Set iterator to previous element
| ||||
virtual void | setLast (void)=0 throw (IteratorBoundsException) | |||
Set iterator to last element
|
The implementation requires a template argument that describes the ElementType being iterated over.
|
Copy constructor.
|
|
getElement returns the ElementType instance that is currently pointed to by the Iterator
Implemented in corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >, and corelinux::CoreLinuxIterator< TraverseType, ElementType >. |
|
isValid abstract interface for implementation to determine if the current position points to a valid EntityType instance
Implemented in corelinux::CoreLinuxAssociativeIterator< TraverseType, KeyType, ElementType >, and corelinux::CoreLinuxIterator< TraverseType, ElementType >. |
|
Assignment operator.
|
|
Equality operator.
|