class CArrayVarBase : public CBase |
An implementation base class for variable length arrays.
It provides implementation and public functions which are common to all variable length type arrays.
The class is always derived from and is never instantiated explicitly.
Public Member Functions | |
---|---|
~CArrayVarBase() | |
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 *, TKeyArrayVar &, TInt &) |
IMPORT_C TInt | FindIsq(const TAny *, TKeyArrayVar &, TInt &) |
IMPORT_C TInt | InsertIsqAllowDuplicatesL(const TAny *, TInt, TKeyArrayVar &) |
IMPORT_C TInt | InsertIsqL(const TAny *, TInt, TKeyArrayVar &) |
IMPORT_C void | InsertL(TInt, const TAny *, TInt) |
IMPORT_C TInt | Length(TInt) |
IMPORT_C void | Reset() |
IMPORT_C TInt | Sort(TKeyArrayVar &) |
Protected Member Functions | |
---|---|
CArrayVarBase(TBufRep, TInt) | |
IMPORT_C const TAny * | AtR(const CBase *, TInt) |
IMPORT_C TInt | CountR(const CBase *) |
IMPORT_C void | SetKey(TKeyArrayVar &) |
Private Attributes | |
---|---|
CBufBase * | iBase |
TInt | iCount |
TBufRep | iCreateRep |
TInt | iGranularity |
IMPORT_C const TAny * | AtR | ( | const CBase * | aPtr, |
TInt | anIndex | |||
) | [protected, static] |
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, |
TKeyArrayVar & | aKey, | |||
TInt & | anIndex | |||
) | const |
const TAny * aPtr | |
TKeyArrayVar & aKey | |
TInt & anIndex |
IMPORT_C TInt | FindIsq | ( | const TAny * | aPtr, |
TKeyArrayVar & | aKey, | |||
TInt & | anIndex | |||
) | const |
const TAny * aPtr | |
TKeyArrayVar & aKey | |
TInt & anIndex |
IMPORT_C TInt | InsertIsqAllowDuplicatesL | ( | const TAny * | aPtr, |
TInt | aLength, | |||
TKeyArrayVar & | aKey | |||
) |
const TAny * aPtr | |
TInt aLength | |
TKeyArrayVar & aKey |
IMPORT_C TInt | InsertIsqL | ( | const TAny * | aPtr, |
TInt | aLength, | |||
TKeyArrayVar & | aKey | |||
) |
const TAny * aPtr | |
TInt aLength | |
TKeyArrayVar & aKey |
IMPORT_C void | SetKey | ( | TKeyArrayVar & | aKey | ) | const [protected] |
TKeyArrayVar & aKey |