#include <Iterator.hpp>
Inheritance diagram for corelinux::Iterator
Public Methods | |
Iterator ( void ) | |
Default constructor. | |
Iterator ( const Iterator &aRef ) | |
Copy constructor. More... | |
virtual | ~Iterator ( void ) |
Destructor. | |
Iterator& | operator= ( const Iterator & ) |
Assignment operator. More... | |
bool | operator== ( const Iterator & aRef ) const |
Equality operator. More... | |
virtual bool | isValid ( void ) const = 0 |
isValid abstract interface for implementation to determine if the current position points to a valid EntityType instance. More... | |
virtual ElementType | getElement ( void ) const = 0 throw (IteratorBoundsException) |
getElement returns the ElementType instance that is currently pointed to by the Iterator. More... | |
virtual void | setFirst ( void ) = 0 |
Set iterator to first element. | |
virtual void | setNext ( void ) = 0 throw (IteratorBoundsException) |
Set iterator to next element. More... | |
virtual void | setPrevious ( void ) = 0 throw (IteratorBoundsException) |
Set iterator to previous element. More... | |
virtual void | setLast ( void ) = 0 throw (IteratorBoundsException) |
Set iterator to last element. More... |
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.
Reimplemented in corelinux::CoreLinuxAssociativeIterator, and corelinux::CoreLinuxIterator. |
|
isValid abstract interface for implementation to determine if the current position points to a valid EntityType instance.
Reimplemented in corelinux::CoreLinuxAssociativeIterator, and corelinux::CoreLinuxIterator. |
|
Assignment operator.
|
|
Equality operator.
|
|
Set iterator to last element.
Reimplemented in corelinux::CoreLinuxAssociativeIterator, and corelinux::CoreLinuxIterator. |
|
Set iterator to next element.
Reimplemented in corelinux::CoreLinuxAssociativeIterator, and corelinux::CoreLinuxIterator. |
|
Set iterator to previous element.
Reimplemented in corelinux::CoreLinuxAssociativeIterator, and corelinux::CoreLinuxIterator. |