#include <bidirectionalIterator.h>

Public Types |
|
|
Typedefs
|
|
|
typedef std::bidirectional_iterator_tag |
iterator_category |
|
typedef ConstForwardIterator < Container, DataType, Position, Traits > |
Base |
Public Member Functions |
|
|
Constructors and destructor.
|
|
| ConstBidirectionalIterator () | |
| ConstBidirectionalIterator (const ConstBidirectionalIterator &iterator) | |
| ~ConstBidirectionalIterator () | |
Protected Member Functions |
|
| ConstBidirectionalIterator (const Container &container) | |
| Construct an iterator bound to a
specific container. |
|
Iterator methods |
|
| void | toBegin () throw (Exception::Precondition) |
| Move the iterator to the beginning
of the container. |
|
| bool | isBegin () const |
| Check whether the iterator points to
the item at the beginning of the container. |
|
| void | toEnd () throw (Exception::Precondition) |
| Move the iterator to the position
after the last item of the container. |
|
| bool | isEnd () const |
| Check whether the iterator points to
the position after the last item of the
container. |
|
| void | toRBegin () throw (Exception::Precondition) |
| Move the iterator to the "reverse"
beginning of the container. |
|
| bool | isRBegin () const |
| Test whether the iterator points to
the "reverse" first element of the container. |
|
| void | toREnd () throw (Exception::Precondition) |
| Move the iterator to the position
before the first element. |
|
| bool | isREnd () const |
| Test wheter the iterator points to
the position before the first element. |
|
| ConstBidirectionalIterator & | operator++ () throw (Exception::Precondition) |
| Increment operator. |
|
| ConstBidirectionalIterator | operator++ (int) throw (Exception::Precondition) |
| Postfix increment
operator. |
|
| ConstBidirectionalIterator & | operator-- () throw (Exception::Precondition) |
| Decrement operator. |
|
| ConstBidirectionalIterator | operator-- (int) throw (Exception::Precondition) |
| Postfix decrement
operator. |
|
| static ConstBidirectionalIterator | begin (const Container &container) throw (Exception::Precondition) |
| Return an iterator pointingto the
first item of the container. |
|
| static ConstBidirectionalIterator | end (const Container &container) throw (Exception::Precondition) |
| Return an iterator pointing to the
position after the last element. |
|
| static ConstBidirectionalIterator | rbegin (const Container &container) throw (Exception::Precondition) |
| Return an iterator pointing to the
last element. |
|
| static ConstBidirectionalIterator | rend (const Container &container) throw (Exception::Precondition) |
| Return an iterator pointing to the
positon before the first element. |
|
1.5.8