#include <bidirectionalIterator.h>
Inheritance diagram for BidirectionalIterator< Container, DataType, Position, Traits >:
Iterator methods | |
reference | operator * () const throw () |
Dereferentiation. | |
pointer | operator-> () const throw () |
Pointer dereferentiation. | |
BidirectionalIterator & | operator++ () throw (Exception::Precondition) |
Increment operator. | |
BidirectionalIterator | operator++ (int) throw (Exception::Precondition) |
Postfix increment operator. | |
BidirectionalIterator & | operator-- () throw (Exception::Precondition) |
Decrement operator. | |
BidirectionalIterator | operator-- (int) throw (Exception::Precondition) |
Postfix decrement operator. | |
BidirectionalIterator | begin (const Container &container) throw (Exception::Precondition) |
Return an iterator pointing to the first item of the container. | |
BidirectionalIterator | end (const Container &container) throw (Exception::Precondition) |
Return an iterator pointing to the position after the last element. | |
BidirectionalIterator | rbegin (const Container &container) throw (Exception::Precondition) |
Return an iterator pointing to the last element. | |
BidirectionalIterator | rend (const Container &container) throw (Exception::Precondition) |
Return an iterator pointing to the positon before the first element. | |
Public Types | |
Typedefs | |
typedef DataType & | reference |
typedef DataType * | pointer |
typedef ConstBidirectionalIterator< Container, DataType, Position, Traits > | Base |
Public Member Functions | |
Constructors and Destructor | |
BidirectionalIterator () throw () | |
Default constructor. | |
BidirectionalIterator (const BidirectionalIterator &iterator) throw () | |
Copy constructor. | |
~BidirectionalIterator () throw () | |
Destructor. | |
Protected Member Functions | |
BidirectionalIterator (const Container &container) throw () | |
Construct an iterator bound to a specific container. |