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

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

Generic mutable forward iterator class. More...

#include <forwardIterator.h>

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

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

Iterator methods

reference operator * () const throw ()
 Convert an iterator to its Datatype by returning a reference to the current data.
pointer operator-> () const throw ()
 Return a pointer to the current data.
ForwardIteratoroperator++ () throw (Exception::Precondition)
 Increment operator.
ForwardIterator operator++ (int) throw (Exception::Precondition)
 Postfix increment operator.
ForwardIterator begin (const Container &container) throw (Exception::Precondition)
 Return an iterator pointing to the beginning of the container.
ForwardIterator end (const Container &container) throw (Exception::Precondition)
 Return an iterator pointing at the end of the container.

Public Types

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

Public Member Functions

Constructors and Destructors
 ForwardIterator (const ForwardIterator &iterator) throw ()
Assignemnt
ForwardIteratoroperator= (const ForwardIterator &iterator) throw ()
void swap (ForwardIterator &iterator) throw ()

Protected Member Functions

 ForwardIterator (const Container &container) throw ()

Detailed Description

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

Generic mutable forward iterator class.