#include <BALL/MATHS/LINALG/reverseIterator.h>
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 () |
Random Access Iterator Class
Definition at line 515 of file reverseIterator.h.
typedef ConstReverseIterator<Container, DataType, Position, Traits> BALL::ReverseIterator< Container, DataType, Position, Traits >::Base |
Reimplemented from BALL::ConstReverseIterator< Container, DataType, Position, Traits >.
Definition at line 528 of file reverseIterator.h.
typedef DataType* BALL::ReverseIterator< Container, DataType, Position, Traits >::pointer |
Reimplemented from BALL::BaseIterator< Container, DataType, Position, Traits >.
Definition at line 526 of file reverseIterator.h.
typedef DataType& BALL::ReverseIterator< Container, DataType, Position, Traits >::reference |
Reimplemented from BALL::BaseIterator< Container, DataType, Position, Traits >.
Definition at line 524 of file reverseIterator.h.
BALL::ReverseIterator< Container, DataType, Position, Traits >::ReverseIterator | ( | ) | throw () [inline] |
Definition at line 536 of file reverseIterator.h.
BALL::ReverseIterator< Container, DataType, Position, Traits >::ReverseIterator | ( | const ReverseIterator< Container, DataType, Position, Traits > & | iterator | ) | throw () [inline] |
Definition at line 539 of file reverseIterator.h.
BALL::ReverseIterator< Container, DataType, Position, Traits >::~ReverseIterator | ( | ) | throw () [inline] |
Definition at line 545 of file reverseIterator.h.
BALL::ReverseIterator< Container, DataType, Position, Traits >::ReverseIterator | ( | const Container & | container | ) | throw () [inline, protected] |
Definition at line 589 of file reverseIterator.h.
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.
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.
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.
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.
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.
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.
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.