![]() |
DynRPG
v0.20
RM2k3 Plugin SDK
|
Array class. More...
Public Member Functions | |
| int | base () |
| Returns the base of the array (zero in most cases) | |
| T & | operator[] (int index) |
| Array access operator. | |
| void | resize (int newSize) |
| Resizes the array. | |
Public Attributes | |
| int | size |
| Size of the array. | |
| T * | items |
| Pointer to array items. | |
Array class.
| int RPG::DArray< T, base_ >::base | ( | ) | [inline] |
Returns the base of the array (zero in most cases)
| T& RPG::DArray< T, base_ >::operator[] | ( | int | index | ) | [inline] |
Array access operator.
| void RPG::DArray< T, base_ >::resize | ( | int | newSize | ) | [inline] |
Resizes the array.
New elements will be initialized with zero.
| newSize | The new number of elements in the array |
| T* RPG::DArray< T, base_ >::items |
Pointer to array items.
| int RPG::DArray< T, base_ >::size |
Size of the array.
1.7.6.1