Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

BidirectionalIterator< Container, DataType, Position, Traits > Class Template Reference

Mutable bidirectional iterator. More...

#include <bidirectionalIterator.h>

Inheritance diagram for BidirectionalIterator< Container, DataType, Position, Traits >:

ConstBidirectionalIterator< Container, DataType, Position, Traits > ConstForwardIterator< Container, DataType, Position, Traits > BaseIterator< Container, DataType, Position, Traits > List of all members.

Iterator methods

reference operator * () const throw ()
 Dereferentiation.
pointer operator-> () const throw ()
 Pointer dereferentiation.
BidirectionalIteratoroperator++ () throw (Exception::Precondition)
 Increment operator.
BidirectionalIterator operator++ (int) throw (Exception::Precondition)
 Postfix increment operator.
BidirectionalIteratoroperator-- () 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.

Detailed Description

template<typename Container, typename DataType, typename Position, typename Traits>
class BidirectionalIterator< Container, DataType, Position, Traits >

Mutable bidirectional iterator.