#include <Karto.h>
Public Member Functions | |
void | Clear () |
kt_int32s * | GetArrayPointer () |
kt_int32s * | GetArrayPointer () const |
kt_int32u | GetSize () const |
LookupArray () | |
kt_int32s & | operator[] (kt_int32u index) |
kt_int32s | operator[] (kt_int32u index) const |
void | SetSize (kt_int32u size) |
virtual | ~LookupArray () |
Private Attributes | |
kt_int32u | m_Capacity |
kt_int32s * | m_pArray |
kt_int32u | m_Size |
An array that can be resized as long as the size does not exceed the initial capacity
karto::LookupArray::LookupArray | ( | ) | [inline] |
virtual karto::LookupArray::~LookupArray | ( | ) | [inline, virtual] |
void karto::LookupArray::Clear | ( | ) | [inline] |
kt_int32s* karto::LookupArray::GetArrayPointer | ( | ) | [inline] |
kt_int32s* karto::LookupArray::GetArrayPointer | ( | ) | const [inline] |
kt_int32u karto::LookupArray::GetSize | ( | ) | const [inline] |
void karto::LookupArray::SetSize | ( | kt_int32u | size | ) | [inline] |
kt_int32u karto::LookupArray::m_Capacity [private] |
kt_int32s* karto::LookupArray::m_pArray [private] |
kt_int32u karto::LookupArray::m_Size [private] |