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 ()
 ReverseIterator (const ReverseIterator &iterator)
 ~ReverseIterator ()
Dereferenciation

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

Static Public Member Functions

Assignment

static ReverseIterator begin (const Container &container)
static ReverseIterator end (const Container &container)
static ReverseIterator rbegin (const Container &container)
static ReverseIterator rend (const Container &container)

Protected Member Functions

 ReverseIterator (const Container &container)

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 505 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 (  )  [inline]

Definition at line 526 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  )  [inline]

Definition at line 529 of file reverseIterator.h.

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

Definition at line 535 of file reverseIterator.h.

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

Definition at line 581 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  )  [inline, static]

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

Exceptions:
Exception::InvalidIterator if the iterator is invalid

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

Definition at line 591 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  )  [inline, static]

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

Exceptions:
Exception::InvalidIterator if the iterator is invalid

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

Definition at line 600 of file reverseIterator.h.

template<typename Container , typename DataType , typename Position , typename Traits >
reference BALL::ReverseIterator< Container, DataType, Position, Traits >::operator* (  )  const [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 546 of file reverseIterator.h.

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

Return a pointer to the current data.

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

Definition at line 548 of file reverseIterator.h.

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

Random access operator.

Exceptions:
Exception::InvalidIterator if the iterator is invalid

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

Definition at line 544 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  )  [inline, static]

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

Exceptions:
Exception::InvalidIterator if the iterator is invalid

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 >
ReverseIterator< Container, DataType, Position, Traits > BALL::ReverseIterator< Container, DataType, Position, Traits >::rend ( const Container &  container  )  [inline, static]

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

Exceptions:
Exception::InvalidIterator if the iterator is invalid

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

Definition at line 618 of file reverseIterator.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Generated by  doxygen 1.6.3