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

Public Member Functions | |
| VRS_TYPEINFO (FixedSizeIterator, Iterator< T >) | |
| VRS_SERIALIZABLE (FixedSizeIterator) | |
| FixedSizeIterator (unsigned int size) | |
| FixedSizeIterator (unsigned int size, const T &init) | |
| FixedSizeIterator (SO< Iterator< T > > iter) | |
| template<typename S> | |
| FixedSizeIterator (const std::vector< S > &other) | |
| template<class FORWARD_ITERATOR> | |
| FixedSizeIterator (FORWARD_ITERATOR begin, FORWARD_ITERATOR end) | |
| virtual | ~FixedSizeIterator () |
| virtual unsigned int | size () const |
| Returns the number of elements, this iterator can iterate over. | |
| virtual T | get (unsigned int index) const |
| Returns the i-th element of the elements described by this iterator. | |
| void | set (unsigned int index, const T &obj) |
| const T & | operator[] (unsigned int index) const |
| T & | operator[] (unsigned int index) |
| const T * | pointer () const |
| T * | pointer () |
Protected Member Functions | |
| FixedSizeIterator () | |
| VRS::FixedSizeIterator< T >::FixedSizeIterator | ( | unsigned int | size | ) | [inline] |
| VRS::FixedSizeIterator< T >::FixedSizeIterator | ( | unsigned int | size, | |
| const T & | init | |||
| ) | [inline] |
| VRS::FixedSizeIterator< T >::FixedSizeIterator | ( | SO< Iterator< T > > | iter | ) | [inline] |
| VRS::FixedSizeIterator< T >::FixedSizeIterator | ( | const std::vector< S > & | other | ) | [inline] |
| VRS::FixedSizeIterator< T >::FixedSizeIterator | ( | FORWARD_ITERATOR | begin, | |
| FORWARD_ITERATOR | end | |||
| ) | [inline] |
| virtual VRS::FixedSizeIterator< T >::~FixedSizeIterator | ( | ) | [inline, virtual] |
| VRS::FixedSizeIterator< T >::FixedSizeIterator | ( | ) | [inline, protected] |
| VRS::FixedSizeIterator< T >::VRS_TYPEINFO | ( | FixedSizeIterator< T > | , | |
| Iterator< T > | ||||
| ) |
| VRS::FixedSizeIterator< T >::VRS_SERIALIZABLE | ( | FixedSizeIterator< T > | ) |
| virtual unsigned int VRS::FixedSizeIterator< T >::size | ( | ) | const [inline, virtual] |
| virtual T VRS::FixedSizeIterator< T >::get | ( | unsigned int | i | ) | const [inline, virtual] |
| void VRS::FixedSizeIterator< T >::set | ( | unsigned int | index, | |
| const T & | obj | |||
| ) | [inline] |
| const T& VRS::FixedSizeIterator< T >::operator[] | ( | unsigned int | index | ) | const [inline] |
| T& VRS::FixedSizeIterator< T >::operator[] | ( | unsigned int | index | ) | [inline] |
| const T* VRS::FixedSizeIterator< T >::pointer | ( | ) | const [inline, virtual] |
If this iterator points to a sequence of elements which is layed out in memory as a standard C++ array this method returns a pointer to the first element of this sequence; a null pointer otherwise (which is the default implementation of this method).
Reimplemented from VRS::Iterator< T >.
| T* VRS::FixedSizeIterator< T >::pointer | ( | ) | [inline] |