class CArrayFixBase : public CBase |
Base class for arrays of fixed length objects.
It provides implementation and public functions which are common to all arrays of this type.
The class is always derived from and is never instantiated explicitly.
Public Member Functions | |
---|---|
~CArrayFixBase() | |
IMPORT_C TAny * | At(TInt) |
IMPORT_C TAny * | Back(TInt) |
IMPORT_C void | Compress() |
TInt | Count() |
IMPORT_C void | Delete(TInt) |
IMPORT_C void | Delete(TInt, TInt) |
IMPORT_C TAny * | End(TInt) |
IMPORT_C TAny * | ExpandL(TInt) |
IMPORT_C TInt | Find(const TAny *, TKeyArrayFix &, TInt &) |
IMPORT_C TInt | FindIsq(const TAny *, TKeyArrayFix &, TInt &) |
IMPORT_C TInt | InsertIsqAllowDuplicatesL(const TAny *, TKeyArrayFix &) |
IMPORT_C TInt | InsertIsqL(const TAny *, TKeyArrayFix &) |
IMPORT_C void | InsertL(TInt, const TAny *) |
IMPORT_C void | InsertL(TInt, const TAny *, TInt) |
TInt | Length() |
IMPORT_C void | Reset() |
IMPORT_C void | ResizeL(TInt, const TAny *) |
IMPORT_C TInt | Sort(TKeyArrayFix &) |
Protected Member Functions | |
---|---|
CArrayFixBase(TBufRep, TInt, TInt) | |
IMPORT_C const TAny * | AtR(const CBase *, TInt) |
IMPORT_C TInt | CountR(const CBase *) |
IMPORT_C void | InsertRepL(TInt, const TAny *, TInt) |
IMPORT_C void | SetKey(TKeyArrayFix &) |
IMPORT_C void | SetReserveFlatL(TInt) |
Private Attributes | |
---|---|
CBufBase * | iBase |
TInt | iCount |
TBufRep | iCreateRep |
TInt | iGranularity |
TInt | iLength |
IMPORT_C | CArrayFixBase | ( | TBufRep | aRep, |
TInt | aRecordLength, | |||
TInt | aGranularity | |||
) | [protected] |
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, |
TKeyArrayFix & | aKey, | |||
TInt & | anIndex | |||
) | const |
const TAny * aPtr | |
TKeyArrayFix & aKey | |
TInt & anIndex |
IMPORT_C TInt | FindIsq | ( | const TAny * | aPtr, |
TKeyArrayFix & | aKey, | |||
TInt & | anIndex | |||
) | const |
const TAny * aPtr | |
TKeyArrayFix & aKey | |
TInt & anIndex |
IMPORT_C TInt | InsertIsqAllowDuplicatesL | ( | const TAny * | aPtr, |
TKeyArrayFix & | aKey | |||
) |
const TAny * aPtr | |
TKeyArrayFix & aKey |
IMPORT_C TInt | InsertIsqL | ( | const TAny * | aPtr, |
TKeyArrayFix & | aKey | |||
) |
const TAny * aPtr | |
TKeyArrayFix & aKey |
IMPORT_C void | InsertRepL | ( | TInt | anIndex, |
const TAny * | aPtr, | |||
TInt | aReplicas | |||
) | [protected] |
TInt | Length | ( | ) | const [inline] |
Gets the length of an element.
The length of an element of type class T.
IMPORT_C void | SetKey | ( | TKeyArrayFix & | aKey | ) | const [protected] |
TKeyArrayFix & aKey |