#include <forwardIterator.h>

Public Types |
|
|
Typedefs
|
|
| typedef std::forward_iterator_tag | iterator_category |
|
typedef BaseIterator < Container, DataType, Position, Traits > |
Base |
Public Member Functions |
|
|
Constructors and Destructors
|
|
| ConstForwardIterator () | |
| Default constructor. |
|
| ConstForwardIterator (const ConstForwardIterator &iterator) | |
| Copy constructor. |
|
| ~ConstForwardIterator () | |
|
Assignment
|
|
| ConstForwardIterator & | operator= (const ConstForwardIterator &iterator) |
| void | swap (ConstForwardIterator &iterator) |
Protected Member Functions |
|
| ConstForwardIterator (const Container &container) | |
Iterator methods |
|
| void | toBegin () throw (Exception::Precondition) |
| Move the iterator to the item at the
beginning of the container. |
|
| bool | isBegin () const |
| Check whether the iterator points to
the first item of the container. |
|
| void | toEnd () throw (Exception::Precondition) |
| Move the iterator behind the last
item of the container. |
|
| bool | isEnd () const |
| Check whether the iterator points
behind the last item of the container. |
|
| ConstForwardIterator & | operator++ () throw (Exception::Precondition) |
| Increment operator. |
|
| ConstForwardIterator | operator++ (int) throw (Exception::Precondition) |
| Postfix increment
operator. |
|
| static ConstForwardIterator | begin (const Container &container) throw (Exception::Precondition) |
| Return an iterator pointing to the
beginning of the container. |
|
| static ConstForwardIterator | end (const Container &container) throw (Exception::Precondition) |
| Return an iterator pointing at the
end of the container. |
|
1.5.8