Public Member Functions | Private Attributes
karto::LookupArray Class Reference

#include <Karto.h>

List of all members.

Public Member Functions

void Clear ()
kt_int32sGetArrayPointer ()
kt_int32sGetArrayPointer () const
kt_int32u GetSize () const
 LookupArray ()
kt_int32soperator[] (kt_int32u index)
kt_int32s operator[] (kt_int32u index) const
void SetSize (kt_int32u size)
virtual ~LookupArray ()

Private Attributes

kt_int32u m_Capacity
kt_int32sm_pArray
kt_int32u m_Size

Detailed Description

An array that can be resized as long as the size does not exceed the initial capacity

Definition at line 6106 of file Karto.h.


Constructor & Destructor Documentation

Constructs lookup array

Definition at line 6112 of file Karto.h.

virtual karto::LookupArray::~LookupArray ( ) [inline, virtual]

Destructor

Definition at line 6122 of file Karto.h.


Member Function Documentation

void karto::LookupArray::Clear ( ) [inline]

Clear array

Definition at line 6134 of file Karto.h.

Gets array pointer

Returns:
array pointer

Definition at line 6197 of file Karto.h.

Gets array pointer

Returns:
array pointer

Definition at line 6206 of file Karto.h.

Gets size of array

Returns:
array size

Definition at line 6143 of file Karto.h.

kt_int32s& karto::LookupArray::operator[] ( kt_int32u  index) [inline]

Gets reference to value at given index

Parameters:
index
Returns:
reference to value at index

Definition at line 6174 of file Karto.h.

kt_int32s karto::LookupArray::operator[] ( kt_int32u  index) const [inline]

Gets value at given index

Parameters:
index
Returns:
value at index

Definition at line 6186 of file Karto.h.

void karto::LookupArray::SetSize ( kt_int32u  size) [inline]

Sets size of array (resize if not big enough)

Parameters:
size

Definition at line 6152 of file Karto.h.


Member Data Documentation

Definition at line 6213 of file Karto.h.

Definition at line 6212 of file Karto.h.

Definition at line 6214 of file Karto.h.


The documentation for this class was generated from the following file:


open_karto
Author(s):
autogenerated on Thu Aug 27 2015 14:14:06