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

Public Member Functions | |
| StaticArrayIterator (const NonPersistentStaticArray< T > *array) | |
| virtual | ~StaticArrayIterator () |
| 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 |
| virtual SharedObj * | container () const |
| VRS_TYPEINFO (StaticArrayIterator, Iterator< T >) | |
| VRS_SERIALIZABLE (StaticArrayIterator) | |
Protected Member Functions | |
| StaticArrayIterator () | |
| VRS::StaticArrayIterator< T >::StaticArrayIterator | ( | const NonPersistentStaticArray< T > * | array | ) | [inline] |
| virtual VRS::StaticArrayIterator< T >::~StaticArrayIterator | ( | ) | [inline, virtual] |
| VRS::StaticArrayIterator< T >::StaticArrayIterator | ( | ) | [inline, protected] |
| virtual unsigned int VRS::StaticArrayIterator< T >::size | ( | ) | const [inline, virtual] |
| virtual T VRS::StaticArrayIterator< T >::get | ( | unsigned int | i | ) | const [inline, virtual] |
| virtual const T* VRS::StaticArrayIterator< 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 >.
| virtual SharedObj* VRS::StaticArrayIterator< T >::container | ( | ) | const [inline, virtual] |
Returns the container this iterator belongs to. This method can return NULL, if the iterator does not belong to a container (e.g. ConstantIterator<T>).
Reimplemented from VRS::Iterator< T >.
| VRS::StaticArrayIterator< T >::VRS_TYPEINFO | ( | StaticArrayIterator< T > | , | |
| Iterator< T > | ||||
| ) |
| VRS::StaticArrayIterator< T >::VRS_SERIALIZABLE | ( | StaticArrayIterator< T > | ) |