#include <forwardIterator.h>
Public Types |
|
Typedefs
|
|
typedef DataType & | reference |
typedef DataType * | pointer |
typedef ConstForwardIterator < Container, DataType, Position, Traits > |
Base |
Public Member Functions |
|
Constructors and Destructors
|
|
ForwardIterator () | |
ForwardIterator (const ForwardIterator &iterator) | |
~ForwardIterator () | |
Assignemnt
|
|
ForwardIterator & | operator= (const ForwardIterator &iterator) |
void | swap (ForwardIterator &iterator) |
Protected Member Functions |
|
ForwardIterator (const Container &container) | |
Iterator methods |
|
reference | operator* () const |
Convert an iterator to its Datatype
by returning a reference to the current data. |
|
pointer | operator-> () const |
Return a pointer to the current
data. |
|
ForwardIterator & | operator++ () throw (Exception::Precondition) |
Increment operator. |
|
ForwardIterator | operator++ (int) throw (Exception::Precondition) |
Postfix increment
operator. |
|
static ForwardIterator | begin (const Container &container) throw (Exception::Precondition) |
Return an iterator pointing to the
beginning of the container. |
|
static ForwardIterator | end (const Container &container) throw (Exception::Precondition) |
Return an iterator pointing at the
end of the container. |