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

Generic mutable forward iterator class. More...

#include <forwardIterator.h>

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

List of all members.


Public Types

Typedefs
typedef DataType & reference
typedef DataType * pointer
typedef ConstForwardIterator
< Container, DataType,
Position, Traits >
Base

Public Member Functions

Constructors and Destructors
ForwardIterator ()
ForwardIterator (const ForwardIterator &iterator)
~ForwardIterator ()
Assignemnt
ForwardIterator & operator= (const ForwardIterator &iterator)
void swap (ForwardIterator &iterator)

Protected Member Functions

ForwardIterator (const Container &container)

Iterator methods

reference operator* () const
Convert an iterator to its Datatype by returning a reference to the current data.
pointer operator-> () const
Return a pointer to the current data.
ForwardIterator & operator++ () throw (Exception::Precondition)
Increment operator.
ForwardIterator operator++ (int) throw (Exception::Precondition)
Postfix increment operator.
static ForwardIterator begin (const Container &container) throw (Exception::Precondition)
Return an iterator pointing to the beginning of the container.
static ForwardIterator 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::ForwardIterator< Container, DataType, Position, Traits >

Generic mutable forward iterator class.

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