#include <bidirectionalIterator.h>

Public Types |
|
|
Typedefs
|
|
| typedef DataType & | reference |
| typedef DataType * | pointer |
|
typedef ConstBidirectionalIterator < Container, DataType, Position, Traits > |
Base |
Public Member Functions |
|
|
Constructors and Destructor
|
|
| BidirectionalIterator () | |
| Default constructor. |
|
| BidirectionalIterator (const BidirectionalIterator &iterator) | |
| Copy constructor. |
|
| ~BidirectionalIterator () | |
| Destructor. |
|
Protected Member Functions |
|
| BidirectionalIterator (const Container &container) | |
| Construct an iterator bound to a
specific container. |
|
Iterator methods |
|
| reference | operator* () const |
| Dereferentiation. |
|
| pointer | operator-> () const |
| 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. |
|
| static BidirectionalIterator | begin (const Container &container) throw (Exception::Precondition) |
| Return an iterator pointing to the
first item of the container. |
|
| static BidirectionalIterator | end (const Container &container) throw (Exception::Precondition) |
| Return an iterator pointing to the
position after the last element. |
|
| static BidirectionalIterator | rbegin (const Container &container) throw (Exception::Precondition) |
| Return an iterator pointing to the
last element. |
|
| static BidirectionalIterator | rend (const Container &container) throw (Exception::Precondition) |
| Return an iterator pointing to the
positon before the first element. |
|
1.5.8