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

Public Member Functions | |
| VRS_TYPEINFO (DataIterator, Iterator< T >) | |
| VRS_SERIALIZABLE (DataIterator) | |
| DataIterator () | |
| DataIterator (unsigned int size) | |
| DataIterator (unsigned int size, const T &init) | |
| DataIterator (SO< Iterator< T > > iter) | |
| template<typename S> | |
| DataIterator (const std::vector< S > &other) | |
| template<class FORWARD_ITERATOR> | |
| DataIterator (FORWARD_ITERATOR begin, FORWARD_ITERATOR end) | |
| 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. | |
| virtual const T * | pointer () const |
| void | set (unsigned int index, const T &obj) |
| void | append (const T &obj) |
| void | append (SO< Iterator< T > > iter) |
| void | clear () |
| std::vector< T >::const_reference | operator[] (unsigned int index) const |
| std::vector< T >::reference | operator[] (unsigned int index) |
Public Attributes | |
| std::vector< T > | data |
| VRS::DataIterator< T >::DataIterator | ( | ) | [inline] |
| VRS::DataIterator< T >::DataIterator | ( | unsigned int | size | ) | [inline] |
| VRS::DataIterator< T >::DataIterator | ( | unsigned int | size, | |
| const T & | init | |||
| ) | [inline] |
| VRS::DataIterator< T >::DataIterator | ( | SO< Iterator< T > > | iter | ) | [inline] |
| VRS::DataIterator< T >::DataIterator | ( | const std::vector< S > & | other | ) | [inline] |
| VRS::DataIterator< T >::DataIterator | ( | FORWARD_ITERATOR | begin, | |
| FORWARD_ITERATOR | end | |||
| ) | [inline] |
| VRS::DataIterator< T >::VRS_TYPEINFO | ( | DataIterator< T > | , | |
| Iterator< T > | ||||
| ) |
| VRS::DataIterator< T >::VRS_SERIALIZABLE | ( | DataIterator< T > | ) |
| virtual unsigned int VRS::DataIterator< T >::size | ( | ) | const [inline, virtual] |
| virtual T VRS::DataIterator< T >::get | ( | unsigned int | i | ) | const [inline, virtual] |
| virtual const T* VRS::DataIterator< 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 >.
| void VRS::DataIterator< T >::set | ( | unsigned int | index, | |
| const T & | obj | |||
| ) | [inline] |
| void VRS::DataIterator< T >::append | ( | const T & | obj | ) | [inline] |
| void VRS::DataIterator< T >::append | ( | SO< Iterator< T > > | iter | ) | [inline] |
| void VRS::DataIterator< T >::clear | ( | ) | [inline] |
| std::vector<T>::const_reference VRS::DataIterator< T >::operator[] | ( | unsigned int | index | ) | const [inline] |
| std::vector<T>::reference VRS::DataIterator< T >::operator[] | ( | unsigned int | index | ) | [inline] |
| std::vector<T> VRS::DataIterator< T >::data |