#include <ArrayData.h>


Public Member Functions | |
| ArrayData (ArrayEntryType &type) | |
| void | remove (unsigned int index) |
| void | setSize (unsigned int size) |
| unsigned int | size () |
Public Member Functions inherited from ComplexData | |
| ComplexData (ComplexEntryType &type) | |
| ComplexEntryType & | GetType () |
Protected Member Functions | |
| EntryValue | _get (unsigned int index) |
| void | _set (unsigned int index, EntryValue value) |
| void | _add (EntryValue value) |
Friends | |
| class | ArrayEntryType |
Defines the internal representation for an array.
Definition at line 20 of file ArrayData.h.
| ArrayData::ArrayData | ( | ArrayEntryType & | type | ) |
Creates a new ArrayData of the given type.
| type | The ArrayEntryType representing the type information that this ArrayData should satisfy. |
Definition at line 17 of file ArrayData.cpp.
|
protected |
Appends the given value to the end of this array.
| value | The value to store. This value must have the same type as the ArrayEntryType indicates. |
Definition at line 34 of file ArrayData.cpp.
|
protected |
Gets the value stored at the specified index.
| index | The array index to retrieve. |
Definition at line 25 of file ArrayData.cpp.
|
protected |
Updates the value stored at the specified index.
The value currently stored at the given index is deleted.
| index | The array index to update. |
| value | The value to store. This value must have the same type as the ArrayEntryType indicates. |
Definition at line 29 of file ArrayData.cpp.
| void ArrayData::remove | ( | unsigned int | index | ) |
Removes and deletes the value stored at the specified index.
| index | The index of the value to remove. |
Definition at line 39 of file ArrayData.cpp.
| void ArrayData::setSize | ( | unsigned int | size | ) |
Sets the new size of this array data structure.
| size | The new size that this array should assume. |
Definition at line 50 of file ArrayData.cpp.
| unsigned int ArrayData::size | ( | ) |
Gets the current size of this array data structure.
Definition at line 73 of file ArrayData.cpp.
1.8.6