#include <bidirectionalIterator.h>
Inheritance diagram for ConstBidirectionalIterator< Container, DataType, Position, Traits >:
Iterator methods | |
void | toBegin () throw (Exception::Precondition) |
Move the iterator to the beginning of the container. | |
bool | isBegin () const throw () |
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 throw () |
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 throw () |
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 throw () |
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. | |
ConstBidirectionalIterator | begin (const Container &container) throw (Exception::Precondition) |
Return an iterator pointingto the first item of the container. | |
ConstBidirectionalIterator | end (const Container &container) throw (Exception::Precondition) |
Return an iterator pointing to the position after the last element. | |
ConstBidirectionalIterator | rbegin (const Container &container) throw (Exception::Precondition) |
Return an iterator pointing to the last element. | |
ConstBidirectionalIterator | rend (const Container &container) throw (Exception::Precondition) |
Return an iterator pointing to the positon before the first element. | |
Public Types | |
Typedefs | |
typedef std::bidirectional_iterator_tag | iterator_category |
typedef ConstForwardIterator< Container, DataType, Position, Traits > | Base |
Public Member Functions | |
Constructors and destructor. | |
ConstBidirectionalIterator (const ConstBidirectionalIterator &iterator) throw () | |
Protected Member Functions | |
ConstBidirectionalIterator (const Container &container) throw () | |
Construct an iterator bound to a specific container. |