Public Member Functions | |
TMCExtensibleArray (int32 elemCount, int32 logMaxElemCount, int32 logGrowsize, boolean zeroMem) | |
~TMCExtensibleArray () | |
TMCExtensibleArray (const TMCExtensibleArray &array) | |
void | AddElem (const T &data) |
void | RemoveLastElem () |
T & | operator[] (int32 i) |
const T & | operator[] (int32 i) const |
void | SetElemCount (int32 elemCount, boolean zeroMem) |
int32 | GetElemCount (void) const |
int32 | GetLogMaxElemCount () const |
int32 | GetLogGrowSize () const |
Protected Attributes | |
const int32 | fLogMaxElemCount |
const int32 | fLogGrowSize |
const int32 | fMask |
const boolean | fZeroMem |
int32 | fElemCount |
TMCCountedPtrArray < TMCCountedBlock< T > > | fData |
TMCPtrArray< T > | fIndex |
TMCExtensibleArray< T >::TMCExtensibleArray | ( | int32 | elemCount, | |
int32 | logMaxElemCount, | |||
int32 | logGrowsize, | |||
boolean | zeroMem | |||
) | [inline] |
TMCExtensibleArray< T >::~TMCExtensibleArray | ( | ) | [inline] |
TMCExtensibleArray< T >::TMCExtensibleArray | ( | const TMCExtensibleArray< T > & | array | ) | [inline] |
void TMCExtensibleArray< T >::AddElem | ( | const T & | data | ) | [inline] |
int32 TMCExtensibleArray< T >::GetElemCount | ( | void | ) | const [inline] |
int32 TMCExtensibleArray< T >::GetLogGrowSize | ( | ) | const [inline] |
int32 TMCExtensibleArray< T >::GetLogMaxElemCount | ( | ) | const [inline] |
const T & TMCExtensibleArray< T >::operator[] | ( | int32 | i | ) | const [inline] |
T & TMCExtensibleArray< T >::operator[] | ( | int32 | i | ) | [inline] |
void TMCExtensibleArray< T >::RemoveLastElem | ( | ) | [inline] |
void TMCExtensibleArray< T >::SetElemCount | ( | int32 | elemCount, | |
boolean | zeroMem | |||
) |
TMCCountedPtrArray< TMCCountedBlock<T> > TMCExtensibleArray< T >::fData [protected] |
int32 TMCExtensibleArray< T >::fElemCount [protected] |
TMCPtrArray<T> TMCExtensibleArray< T >::fIndex [protected] |
const int32 TMCExtensibleArray< T >::fLogGrowSize [protected] |
const int32 TMCExtensibleArray< T >::fLogMaxElemCount [protected] |
const int32 TMCExtensibleArray< T >::fMask [protected] |
const boolean TMCExtensibleArray< T >::fZeroMem [protected] |