#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 () | |
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) |
Random Access Iterator Class
Definition at line 505 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 518 of file reverseIterator.h.
typedef DataType* BALL::ReverseIterator< Container, DataType, Position, Traits >::pointer |
Reimplemented from BALL::BaseIterator< Container, DataType, Position, Traits >.
Definition at line 516 of file reverseIterator.h.
typedef DataType& BALL::ReverseIterator< Container, DataType, Position, Traits >::reference |
Reimplemented from BALL::BaseIterator< Container, DataType, Position, Traits >.
Definition at line 514 of file reverseIterator.h.
BALL::ReverseIterator< Container, DataType, Position, Traits >::ReverseIterator | ( | ) | [inline] |
Definition at line 526 of file reverseIterator.h.
BALL::ReverseIterator< Container, DataType, Position, Traits >::ReverseIterator | ( | const ReverseIterator< Container, DataType, Position, Traits > & | iterator | ) | [inline] |
Definition at line 529 of file reverseIterator.h.
BALL::ReverseIterator< Container, DataType, Position, Traits >::~ReverseIterator | ( | ) | [inline] |
Definition at line 535 of file reverseIterator.h.
BALL::ReverseIterator< Container, DataType, Position, Traits >::ReverseIterator | ( | const Container & | container | ) | [inline, protected] |
Definition at line 581 of file reverseIterator.h.
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.
Exception::InvalidIterator | if the iterator is invalid |
Reimplemented from BALL::ConstReverseIterator< Container, DataType, Position, Traits >.
Definition at line 591 of file reverseIterator.h.
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.
Exception::InvalidIterator | if the iterator is invalid |
Reimplemented from BALL::ConstReverseIterator< Container, DataType, Position, Traits >.
Definition at line 600 of file reverseIterator.h.
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.
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.
reference BALL::ReverseIterator< Container, DataType, Position, Traits >::operator[] | ( | Index | index | ) | const [inline] |
Random access operator.
Exception::InvalidIterator | if the iterator is invalid |
Reimplemented from BALL::ConstReverseIterator< Container, DataType, Position, Traits >.
Definition at line 544 of file reverseIterator.h.
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.
Exception::InvalidIterator | if the iterator is invalid |
Reimplemented from BALL::ConstReverseIterator< Container, DataType, Position, Traits >.
Definition at line 609 of file reverseIterator.h.
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.
Exception::InvalidIterator | if the iterator is invalid |
Reimplemented from BALL::ConstReverseIterator< Container, DataType, Position, Traits >.
Definition at line 618 of file reverseIterator.h.