#include <private_ge_mtools.h>
Public Member Functions | |
~DynamicArrayBase () | |
Int | GetMemoryUse () |
Int32 | GetMaxCount () |
TYPE & | operator[] (int i) |
TYPE | operator[] (int i) const |
const DynamicArrayBase< TYPE, BLOCK > & | operator= (const DynamicArrayBase< TYPE, BLOCK > &src) |
Bool | Insert (Int32 i) |
Bool | RemoveLast () |
Bool | Remove (Int32 i) |
TYPE * | GetLast () |
TYPE * | GetAt (Int32 i) |
void | Set (Int32 i, const TYPE &data) |
TYPE & | Get (Int32 i) |
Int32 | Find (const TYPE &data, Int32 l, Int32 u) |
Int32 | Find (const TYPE &data) |
Int32 | FindSorted (const TYPE &data) |
Bool | SetCount (Int32 cnt) |
Int32 | GetCount () const |
Bool | Content () const |
Bool | IsEmpty () const |
Bool | Expand (Int32 maxcnt) |
Bool | CopyTo (DynamicArrayBase< TYPE, BLOCK > *dst) const |
Bool | CopyFrom (TYPE *data, Int32 cnt) |
Bool | CopyFrom (const DynamicArrayBase< TYPE, BLOCK > *src) |
Bool | Init (Int32 cnt=NOTOK) |
void | Free () |
void | TransferTo (DynamicArrayBase< TYPE, BLOCK > &dst) |
TYPE * | GetArray () |
const TYPE * | GetArray () const |
void | Sort () |
TYPE * | ToArray () |
Protected Member Functions | |
DynamicArrayBase () | |
void | Reset () |
Bool | Add () |
void | InitElements (Int32 cnt) |
void | FreeElements () |
Protected Attributes | |
TYPE * | m_pData |
Int32 | m_Cnt |
Int32 | m_Allocated |
|
protected |
~DynamicArrayBase | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
Int GetMemoryUse | ( | ) |
Int32 GetMaxCount | ( | ) |
TYPE& operator[] | ( | int | i | ) |
TYPE operator[] | ( | int | i | ) | const |
const DynamicArrayBase<TYPE, BLOCK>& operator= | ( | const DynamicArrayBase< TYPE, BLOCK > & | src | ) |
Bool RemoveLast | ( | ) |
TYPE* GetLast | ( | ) |
TYPE* GetAt | ( | Int32 | i | ) |
void Set | ( | Int32 | i, |
const TYPE & | data | ||
) |
TYPE& Get | ( | Int32 | i | ) |
Int32 Find | ( | const TYPE & | data | ) |
Int32 FindSorted | ( | const TYPE & | data | ) |
Int32 GetCount | ( | ) | const |
Bool Content | ( | ) | const |
Bool IsEmpty | ( | ) | const |
Bool CopyTo | ( | DynamicArrayBase< TYPE, BLOCK > * | dst | ) | const |
Bool CopyFrom | ( | const DynamicArrayBase< TYPE, BLOCK > * | src | ) |
void Free | ( | ) |
void TransferTo | ( | DynamicArrayBase< TYPE, BLOCK > & | dst | ) |
TYPE* GetArray | ( | ) |
const TYPE* GetArray | ( | ) | const |
void Sort | ( | ) |
TYPE* ToArray | ( | ) |
|
protected |
|
protected |
|
protected |