Kaim::Collection< T, SID > Class Template Reference
#include <collection.h>
template<class T, int SID = Stat_Default_Mem>
class Kaim::Collection< T, SID >
Collection is a class which is a "Collection" of elements (not sorted, not unique)
|
T & | PushBack (const T &value) |
|
T & | PushBack () |
|
T & | PushBackUnique (const T &value) |
|
void | Clear () |
|
void | ClearAndReleaseMemory () |
|
void | Reserve (KyUInt32 size) |
|
KyUInt32 | GetCount () const |
|
KyUInt32 | GetCapacity () const |
|
bool | IsEmpty () const |
|
const T & | operator[] (KyUInt32 index) const |
|
T & | operator[] (KyUInt32 index) |
|
const T * | GetDataPtr () const |
|
T * | GetDataPtr () |
|
KyUInt32 | RemoveAt (KyUInt32 index) |
|
KyUInt32 | FindFirstOccurrence (const T &value, KyUInt32 startIndex=0) |
|
KyUInt32 | RemoveFirstOccurrence (const T &value, KyUInt32 startIndex=0) |
|
bool | DoesContain (const T &value) const |
|
|
CollectionImpl< T, CollectionIndexTracker_None< T >, SID > | m_collectionImpl |
|
template<class T , int SID>
Removes the element at specified index in the container.
- Returns
- the index of the following element in the container.
The documentation for this class was generated from the following files: