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

Generic non-mutable forward itterator. More...

#include <forwardIterator.h>

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

List of all members.


Public Types

Typedefs
typedef std::forward_iterator_tag iterator_category
typedef BaseIterator
< Container, DataType,
Position, Traits >
Base

Public Member Functions

Constructors and Destructors
ConstForwardIterator ()
Default constructor.
ConstForwardIterator (const ConstForwardIterator &iterator)
Copy constructor.
~ConstForwardIterator ()
Assignment
ConstForwardIterator & operator= (const ConstForwardIterator &iterator)
void swap (ConstForwardIterator &iterator)

Protected Member Functions

ConstForwardIterator (const Container &container)

Iterator methods

void toBegin () throw (Exception::Precondition)
Move the iterator to the item at the beginning of the container.
bool isBegin () const
Check whether the iterator points to the first item of the container.
void toEnd () throw (Exception::Precondition)
Move the iterator behind the last item of the container.
bool isEnd () const
Check whether the iterator points behind the last item of the container.
ConstForwardIterator & operator++ () throw (Exception::Precondition)
Increment operator.
ConstForwardIterator operator++ (int) throw (Exception::Precondition)
Postfix increment operator.
static ConstForwardIterator begin (const Container &container) throw (Exception::Precondition)
Return an iterator pointing to the beginning of the container.
static ConstForwardIterator end (const Container &container) throw (Exception::Precondition)
Return an iterator pointing at the end of the container.

Detailed Description

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

Generic non-mutable forward itterator.

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