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

#include <BALL/MATHS/LINALG/reverseIterator.h>

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

List of all members.

Public Types

Typedefs

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

Public Member Functions

Constructors and Destructors

 ReverseIterator () throw ()
 ReverseIterator (const ReverseIterator &iterator) throw ()
 ~ReverseIterator () throw ()
Dereferenciation

reference operator[] (Index index) const throw (Exception::InvalidIterator)
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.

Static Public Member Functions

Assignment

static ReverseIterator begin (const Container &container) throw (Exception::InvalidIterator)
static ReverseIterator end (const Container &container) throw (Exception::InvalidIterator)
static ReverseIterator rbegin (const Container &container) throw (Exception::InvalidIterator)
static ReverseIterator rend (const Container &container) throw (Exception::InvalidIterator)

Protected Member Functions

 ReverseIterator (const Container &container) throw ()

Detailed Description

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

Random Access Iterator Class

Definition at line 515 of file reverseIterator.h.


Member Typedef Documentation

template<typename Container , typename DataType , typename Position , typename Traits >
typedef ConstReverseIterator<Container, DataType, Position, Traits> BALL::ReverseIterator< Container, DataType, Position, Traits >::Base
template<typename Container , typename DataType , typename Position , typename Traits >
typedef DataType* BALL::ReverseIterator< Container, DataType, Position, Traits >::pointer
template<typename Container , typename DataType , typename Position , typename Traits >
typedef DataType& BALL::ReverseIterator< Container, DataType, Position, Traits >::reference

Constructor & Destructor Documentation

template<typename Container , typename DataType , typename Position , typename Traits >
BALL::ReverseIterator< Container, DataType, Position, Traits >::ReverseIterator (  )  throw () [inline]

Definition at line 536 of file reverseIterator.h.

template<typename Container , typename DataType , typename Position , typename Traits >
BALL::ReverseIterator< Container, DataType, Position, Traits >::ReverseIterator ( const ReverseIterator< Container, DataType, Position, Traits > &  iterator  )  throw () [inline]

Definition at line 539 of file reverseIterator.h.

template<typename Container , typename DataType , typename Position , typename Traits >
BALL::ReverseIterator< Container, DataType, Position, Traits >::~ReverseIterator (  )  throw () [inline]

Definition at line 545 of file reverseIterator.h.

template<typename Container , typename DataType , typename Position , typename Traits >
BALL::ReverseIterator< Container, DataType, Position, Traits >::ReverseIterator ( const Container &  container  )  throw () [inline, protected]

Definition at line 589 of file reverseIterator.h.


Member Function Documentation

template<typename Container , typename DataType , typename Position , typename Traits >
ReverseIterator< Container, DataType, Position, Traits > BALL::ReverseIterator< Container, DataType, Position, Traits >::begin ( const Container &  container  )  throw (Exception::InvalidIterator) [inline, static]

Return a ReverseIterator for a given container. It points at the first element.

Reimplemented from BALL::ConstReverseIterator< Container, DataType, Position, Traits >.

Definition at line 599 of file reverseIterator.h.

template<typename Container , typename DataType , typename Position , typename Traits >
ReverseIterator< Container, DataType, Position, Traits > BALL::ReverseIterator< Container, DataType, Position, Traits >::end ( const Container &  container  )  throw (Exception::InvalidIterator) [inline, static]

Return a ReverseIterator for a given container. It points behind the last element of the container.

Reimplemented from BALL::ConstReverseIterator< Container, DataType, Position, Traits >.

Definition at line 609 of file reverseIterator.h.

template<typename Container , typename DataType , typename Position , typename Traits >
reference BALL::ReverseIterator< Container, DataType, Position, Traits >::operator* (  )  const throw () [inline]

Convert an iterator to its Datatype by returning a reference to the current data.

Reimplemented from BALL::BaseIterator< Container, DataType, Position, Traits >.

Definition at line 554 of file reverseIterator.h.

template<typename Container , typename DataType , typename Position , typename Traits >
pointer BALL::ReverseIterator< Container, DataType, Position, Traits >::operator-> (  )  const throw () [inline]

Return a pointer to the current data.

Reimplemented from BALL::BaseIterator< Container, DataType, Position, Traits >.

Definition at line 556 of file reverseIterator.h.

template<typename Container , typename DataType , typename Position , typename Traits >
reference BALL::ReverseIterator< Container, DataType, Position, Traits >::operator[] ( Index  index  )  const throw (Exception::InvalidIterator) [inline]

Random access operator.

Reimplemented from BALL::ConstReverseIterator< Container, DataType, Position, Traits >.

Definition at line 552 of file reverseIterator.h.

template<typename Container , typename DataType , typename Position , typename Traits >
ReverseIterator< Container, DataType, Position, Traits > BALL::ReverseIterator< Container, DataType, Position, Traits >::rbegin ( const Container &  container  )  throw (Exception::InvalidIterator) [inline, static]

Return a ReverseIterator for a given container. It points at the last element of the container.

Reimplemented from BALL::ConstReverseIterator< Container, DataType, Position, Traits >.

Definition at line 619 of file reverseIterator.h.

template<typename Container , typename DataType , typename Position , typename Traits >
ReverseIterator< Container, DataType, Position, Traits > BALL::ReverseIterator< Container, DataType, Position, Traits >::rend ( const Container &  container  )  throw (Exception::InvalidIterator) [inline, static]

Return a ReverseIterator for a given container. It points before the first element.

Reimplemented from BALL::ConstReverseIterator< Container, DataType, Position, Traits >.

Definition at line 629 of file reverseIterator.h.

Generated by  doxygen 1.6.3