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

Mutable bidirectional iterator. More...

#include <bidirectionalIterator.h>

Inheritance diagram for BALL::BidirectionalIterator< Container, DataType, Position, Traits >:
Inheritance graph
[legend]

List of all members.


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.

Detailed Description

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

Mutable bidirectional iterator.

Generated on Thu Aug 6 18:30:25 2009 for BALL by doxygen 1.5.8