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

Public Member Functions | |
| NonPersistentStaticArray (unsigned int size) | |
| NonPersistentStaticArray (unsigned int size, const T &initValue) | |
| NonPersistentStaticArray (const Iterator< T > *iter) | |
| virtual | ~NonPersistentStaticArray () |
| unsigned int | size () const |
| Returns the size of this array. | |
| bool | isEmpty () const |
| Returns true, if the array is empty. | |
| void | setElement (unsigned int index, const T &obj) |
| T | getElement (unsigned int index) const |
| T & | operator[] (unsigned int index) |
| const T & | operator[] (unsigned int index) const |
| Returns a reference to the array element at position "index". | |
| T * | pointer () |
| const T * | pointer () const |
| Returns a pointer to the first array element. | |
| virtual Iterator< T > * | newIterator () const |
| Returns an iterator for this array. | |
| VRS_TYPEINFO (NonPersistentStaticArray, SharedObj) | |
| VRS_SERIALIZABLE_ABSTRACT_CLASS (NonPersistentStaticArray) | |
| T * | beginSTL () |
| const T * | beginSTL () const |
| T * | endSTL () |
| const T * | endSTL () const |
Protected Member Functions | |
| NonPersistentStaticArray () | |
Protected Attributes | |
| Iterator< T > * | iterator_ |
| unsigned int | size_ |
| T * | data_ |
Friends | |
| class | StaticArrayIterator< T > |
| VRS::NonPersistentStaticArray< T >::NonPersistentStaticArray | ( | unsigned int | size | ) | [inline] |
| VRS::NonPersistentStaticArray< T >::NonPersistentStaticArray | ( | unsigned int | size, | |
| const T & | initValue | |||
| ) | [inline] |
| VRS::NonPersistentStaticArray< T >::NonPersistentStaticArray | ( | const Iterator< T > * | iter | ) | [inline] |
| virtual VRS::NonPersistentStaticArray< T >::~NonPersistentStaticArray | ( | ) | [inline, virtual] |
For the construction of a static array, the array size must be specified (or a valid iterator of values of type T must be given). The cannot be resized after construction.
| VRS::NonPersistentStaticArray< T >::NonPersistentStaticArray | ( | ) | [inline, protected] |
| unsigned int VRS::NonPersistentStaticArray< T >::size | ( | void | ) | const [inline] |
Returns the size of this array.
| bool VRS::NonPersistentStaticArray< T >::isEmpty | ( | void | ) | const [inline] |
Returns true, if the array is empty.
| void VRS::NonPersistentStaticArray< T >::setElement | ( | unsigned int | index, | |
| const T & | obj | |||
| ) | [inline] |
| T VRS::NonPersistentStaticArray< T >::getElement | ( | unsigned int | index | ) | const [inline] |
| T & VRS::NonPersistentStaticArray< T >::operator[] | ( | unsigned int | index | ) | [inline] |
| const T & VRS::NonPersistentStaticArray< T >::operator[] | ( | unsigned int | index | ) | const [inline] |
Returns a reference to the array element at position "index".
| T* VRS::NonPersistentStaticArray< T >::pointer | ( | ) | [inline] |
| const T* VRS::NonPersistentStaticArray< T >::pointer | ( | ) | const [inline] |
Returns a pointer to the first array element.
| Iterator< T > * VRS::NonPersistentStaticArray< T >::newIterator | ( | ) | const [inline, virtual] |
Returns an iterator for this array.
| VRS::NonPersistentStaticArray< T >::VRS_TYPEINFO | ( | NonPersistentStaticArray< T > | , | |
| SharedObj | ||||
| ) |
| VRS::NonPersistentStaticArray< T >::VRS_SERIALIZABLE_ABSTRACT_CLASS | ( | NonPersistentStaticArray< T > | ) |
| T* VRS::NonPersistentStaticArray< T >::beginSTL | ( | ) | [inline] |
| const T* VRS::NonPersistentStaticArray< T >::beginSTL | ( | ) | const [inline] |
| T* VRS::NonPersistentStaticArray< T >::endSTL | ( | ) | [inline] |
| const T* VRS::NonPersistentStaticArray< T >::endSTL | ( | ) | const [inline] |
friend class StaticArrayIterator< T > [friend] |
Iterator<T>* VRS::NonPersistentStaticArray< T >::iterator_ [mutable, protected] |
unsigned int VRS::NonPersistentStaticArray< T >::size_ [protected] |
T* VRS::NonPersistentStaticArray< T >::data_ [protected] |