#include <forwardIterator.h>
Inheritance diagram for ConstForwardIterator< Container, DataType, Position, Traits >:
Iterator methods | |
void | toBegin () throw (Exception::Precondition) |
Move the iterator to the item at the beginning of the container. | |
bool | isBegin () const throw () |
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 throw () |
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. | |
ConstForwardIterator | begin (const Container &container) throw (Exception::Precondition) |
Return an iterator pointing to the beginning of the container. | |
ConstForwardIterator | end (const Container &container) throw (Exception::Precondition) |
Return an iterator pointing at the end of the container. | |
Public Types | |
Typedefs | |
typedef std::forward_iterator_tag | iterator_category |
typedef BaseIterator< Container, DataType, Position, Traits > | Base |
Public Member Functions | |
Constructors and Destructors | |
ConstForwardIterator () throw () | |
Default constructor. | |
ConstForwardIterator (const ConstForwardIterator &iterator) throw () | |
Copy constructor. | |
Assignment | |
ConstForwardIterator & | operator= (const ConstForwardIterator &iterator) throw () |
void | swap (ConstForwardIterator &iterator) throw () |
Protected Member Functions | |
ConstForwardIterator (const Container &container) throw () |