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