| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/container/lineariterator.h>

Public Member Functions | |
| LinearIterator (const T &startValue, const T &endValue, unsigned int size=0) | |
| void | setStartValue (const T &startValue) |
| const T & | getStartValue () const |
| void | setEndValue (const T &endValue) |
| const T & | getEndValue () const |
| virtual unsigned int | size () const |
| Returns the number of elements, this iterator can iterate over. | |
| void | setSize (unsigned int size) |
| virtual T | get (unsigned int index) const |
| Returns the i-th element of the elements described by this iterator. | |
| VRS_TYPEINFO (LinearIterator, Iterator< T >) | |
| VRS_SERIALIZABLE (LinearIterator) | |
Protected Member Functions | |
| LinearIterator () | |
| VRS::LinearIterator< T >::LinearIterator | ( | const T & | startValue, | |
| const T & | endValue, | |||
| unsigned int | size = 0 | |||
| ) | [inline] |
An `LinearIterator' reports a linear value depending on delivered index. The number, i.e., the size of the iterator is specified explicitly.
| VRS::LinearIterator< T >::LinearIterator | ( | ) | [inline, protected] |
| void VRS::LinearIterator< T >::setStartValue | ( | const T & | startValue | ) | [inline] |
| const T& VRS::LinearIterator< T >::getStartValue | ( | ) | const [inline] |
Sets / gets the value where the iteration should start.
| void VRS::LinearIterator< T >::setEndValue | ( | const T & | endValue | ) | [inline] |
| const T& VRS::LinearIterator< T >::getEndValue | ( | ) | const [inline] |
Sets / gets the value where the iteration should end.
| virtual unsigned int VRS::LinearIterator< T >::size | ( | ) | const [inline, virtual] |
| void VRS::LinearIterator< T >::setSize | ( | unsigned int | size | ) | [inline] |
| virtual T VRS::LinearIterator< T >::get | ( | unsigned int | i | ) | const [inline, virtual] |
| VRS::LinearIterator< T >::VRS_TYPEINFO | ( | LinearIterator< T > | , | |
| Iterator< T > | ||||
| ) |
| VRS::LinearIterator< T >::VRS_SERIALIZABLE | ( | LinearIterator< T > | ) |