#include <randomAccessIterator.h>
Public Types | |
Typedefs | |
typedef DataType & | reference |
typedef DataType * | pointer |
typedef ConstRandomAccessIterator< Container, DataType, Position, Traits > | Base |
Public Member Functions | |
Constructors and Destructors | |
RandomAccessIterator (const RandomAccessIterator &iterator) throw () | |
Dereferenciation | |
reference | operator[] (Index index) const throw (Exception::InvalidIterator) |
reference | operator * () const throw () |
pointer | operator-> () const throw () |
Static Public Member Functions | |
Assignment | |
RandomAccessIterator | begin (const Container &container) throw (Exception::InvalidIterator) |
Return a RandomAccessIterator for a given container. | |
RandomAccessIterator | end (const Container &container) throw (Exception::InvalidIterator) |
Return a RandomAccessIterator for a given container. | |
RandomAccessIterator | rbegin (const Container &container) throw (Exception::InvalidIterator) |
Return a RandomAccessIterator for a given container. | |
RandomAccessIterator | rend (const Container &container) throw (Exception::InvalidIterator) |
Return a RandomAccessIterator for a given container. | |
Protected Member Functions | |
RandomAccessIterator (const Container &container) throw () |
|
Return a RandomAccessIterator for a given container. It points at the first element. |
|
Return a RandomAccessIterator for a given container. It points behind the last element of the container. |
|
Return a RandomAccessIterator for a given container. It points at the last element of the container. |
|
Return a RandomAccessIterator for a given container. It points before the first element. |