class CArrayPakBase : public CBase |
An implementation base class for all variable length, packed arrays.
The class is always derived from and is never instantiated explicitly.
Public Member Functions | |
---|---|
~CArrayPakBase() | |
IMPORT_C TAny * | At(TInt) |
IMPORT_C void | Compress() |
TInt | Count() |
IMPORT_C void | Delete(TInt) |
IMPORT_C void | Delete(TInt, TInt) |
IMPORT_C TAny * | ExpandL(TInt, TInt) |
IMPORT_C TInt | Find(const TAny *, TKeyArrayPak &, TInt &) |
IMPORT_C TInt | FindIsq(const TAny *, TKeyArrayPak &, TInt &) |
IMPORT_C TInt | InsertIsqAllowDuplicatesL(const TAny *, TInt, TKeyArrayPak &) |
IMPORT_C TInt | InsertIsqL(const TAny *, TInt, TKeyArrayPak &) |
IMPORT_C void | InsertL(TInt, const TAny *, TInt) |
IMPORT_C TInt | Length(TInt) |
IMPORT_C void | Reset() |
IMPORT_C void | SortL(TKeyArrayVar &) |
Protected Member Functions | |
---|---|
CArrayPakBase(TBufRep, TInt) | |
IMPORT_C const TAny * | AtR(const CBase *, TInt) |
IMPORT_C void | BuildVarArrayL(CArrayVarFlat< TAny > *&) |
IMPORT_C TInt | CountR(const CBase *) |
IMPORT_C TInt | GetOffset(TInt) |
IMPORT_C void | SetKey(TKeyArrayPak &) |
Private Attributes | |
---|---|
CBufBase * | iBase |
TInt | iCacheIndex |
TInt | iCacheOffset |
TInt | iCount |
TBufRep | iCreateRep |
TInt | iGranularity |
IMPORT_C const TAny * | AtR | ( | const CBase * | aPtr, |
TInt | anIndex | |||
) | [protected, static] |
IMPORT_C void | BuildVarArrayL | ( | CArrayVarFlat< TAny > *& | aVarFlat | ) | [protected] |
CArrayVarFlat< TAny > *& aVarFlat |
TInt | Count | ( | ) | const [inline] |
Gets the number of elements held in the array.
The number of array elements.
IMPORT_C TInt | CountR | ( | const CBase * | aPtr | ) | [protected, static] |
const CBase * aPtr |
IMPORT_C TInt | Find | ( | const TAny * | aPtr, |
TKeyArrayPak & | aKey, | |||
TInt & | anIndex | |||
) | const |
const TAny * aPtr | |
TKeyArrayPak & aKey | |
TInt & anIndex |
IMPORT_C TInt | FindIsq | ( | const TAny * | aPtr, |
TKeyArrayPak & | aKey, | |||
TInt & | anIndex | |||
) | const |
const TAny * aPtr | |
TKeyArrayPak & aKey | |
TInt & anIndex |
IMPORT_C TInt | InsertIsqAllowDuplicatesL | ( | const TAny * | aPtr, |
TInt | aLength, | |||
TKeyArrayPak & | aKey | |||
) |
const TAny * aPtr | |
TInt aLength | |
TKeyArrayPak & aKey |
IMPORT_C TInt | InsertIsqL | ( | const TAny * | aPtr, |
TInt | aLength, | |||
TKeyArrayPak & | aKey | |||
) |
const TAny * aPtr | |
TInt aLength | |
TKeyArrayPak & aKey |
IMPORT_C void | SetKey | ( | TKeyArrayPak & | aKey | ) | const [protected] |
TKeyArrayPak & aKey |