CDesC16Array Class Reference

class CDesC16Array : public CArrayFixBase

An implementation base class for 16 bit descriptor arrays. It provides some of the behaviour for 16 bit descriptor arrays.

The class is abstract and cannot be instantiated. " bafl.lib " 5.0

Inherits from

Public Member Functions
~CDesC16Array()
IMPORT_C voidAppendL(const TDesC16 &)
IMPORT_C voidDelete(TInt)
IMPORT_C voidDelete(TInt, TInt)
IMPORT_C TIntFind(const TDesC16 &, TInt &, TKeyCmpText)
IMPORT_C TIntFindIsq(const TDesC16 &, TInt &, TKeyCmpText)
IMPORT_C TIntInsertIsqAllowDuplicatesL(const TDesC16 &, TKeyCmpText)
IMPORT_C TIntInsertIsqL(const TDesC16 &, TKeyCmpText)
IMPORT_C voidInsertL(TInt, const TDesC16 &)
IMPORT_C TIntMdcaCount()
IMPORT_C TPtrC16MdcaPoint(TInt)
IMPORT_C voidReset()
IMPORT_C voidSort(TKeyCmpText)
TPtrC16 operator[](TInt)
Protected Member Functions
CDesC16Array(TBufRep, TInt)
Inherited Functions
CArrayFixBase::At(TInt)const
CArrayFixBase::AtR(const CBase *,TInt)
CArrayFixBase::Back(TInt)const
CArrayFixBase::CArrayFixBase(TBufRep,TInt,TInt)
CArrayFixBase::Compress()
CArrayFixBase::Count()const
CArrayFixBase::CountR(const CBase *)
CArrayFixBase::End(TInt)const
CArrayFixBase::ExpandL(TInt)
CArrayFixBase::Find(const TAny *,TKeyArrayFix &,TInt &)const
CArrayFixBase::FindIsq(const TAny *,TKeyArrayFix &,TInt &)const
CArrayFixBase::InsertIsqAllowDuplicatesL(const TAny *,TKeyArrayFix &)
CArrayFixBase::InsertIsqL(const TAny *,TKeyArrayFix &)
CArrayFixBase::InsertL(TInt,const TAny *)
CArrayFixBase::InsertL(TInt,const TAny *,TInt)
CArrayFixBase::InsertRepL(TInt,const TAny *,TInt)
CArrayFixBase::Length()const
CArrayFixBase::ResizeL(TInt,const TAny *)
CArrayFixBase::SetKey(TKeyArrayFix &)const
CArrayFixBase::SetReserveFlatL(TInt)
CArrayFixBase::Sort(TKeyArrayFix &)
CArrayFixBase::~CArrayFixBase()
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()

Constructor & Destructor Documentation

CDesC16Array(TBufRep, TInt)

IMPORT_CCDesC16Array(TBufRepaRep,
TIntaGranularity
)[protected]

Parameters

TBufRep aRep
TInt aGranularity

~CDesC16Array()

IMPORT_C~CDesC16Array()

Member Functions Documentation

AppendL(const TDesC16 &)

IMPORT_C voidAppendL(const TDesC16 &aPtr)

Parameters

const TDesC16 & aPtr

Delete(TInt)

IMPORT_C voidDelete(TIntaPos)

Parameters

TInt aPos

Delete(TInt, TInt)

IMPORT_C voidDelete(TIntaIndex,
TIntaCount
)

Parameters

TInt aIndex
TInt aCount

Find(const TDesC16 &, TInt &, TKeyCmpText)

IMPORT_C TIntFind(const TDesC16 &aPtr,
TInt &aPos,
TKeyCmpTextaTextComparisonType = ECmpFolded
)const

Parameters

const TDesC16 & aPtr
TInt & aPos
TKeyCmpText aTextComparisonType = ECmpFolded

FindIsq(const TDesC16 &, TInt &, TKeyCmpText)

IMPORT_C TIntFindIsq(const TDesC16 &aPtr,
TInt &aPos,
TKeyCmpTextaTextComparisonType = ECmpFolded
)const

Parameters

const TDesC16 & aPtr
TInt & aPos
TKeyCmpText aTextComparisonType = ECmpFolded

InsertIsqAllowDuplicatesL(const TDesC16 &, TKeyCmpText)

IMPORT_C TIntInsertIsqAllowDuplicatesL(const TDesC16 &aPtr,
TKeyCmpTextaTextComparisonType = ECmpFolded
)

Parameters

const TDesC16 & aPtr
TKeyCmpText aTextComparisonType = ECmpFolded

InsertIsqL(const TDesC16 &, TKeyCmpText)

IMPORT_C TIntInsertIsqL(const TDesC16 &aPtr,
TKeyCmpTextaTextComparisonType = ECmpFolded
)

Parameters

const TDesC16 & aPtr
TKeyCmpText aTextComparisonType = ECmpFolded

InsertL(TInt, const TDesC16 &)

IMPORT_C voidInsertL(TIntaPos,
const TDesC16 &aPtr
)

Parameters

TInt aPos
const TDesC16 & aPtr

MdcaCount()

IMPORT_C TIntMdcaCount()const

MdcaPoint(TInt)

IMPORT_C TPtrC16MdcaPoint(TIntaIndex)const

Parameters

TInt aIndex

Reset()

IMPORT_C voidReset()

Sort(TKeyCmpText)

IMPORT_C voidSort(TKeyCmpTextaTextComparisonType = ECmpFolded)

Parameters

TKeyCmpText aTextComparisonType = ECmpFolded

operator[](TInt)

TPtrC16 operator[](TIntaIndex)const [inline]

Returns a non-modifiable descriptor to represent the descriptor element located at the specified index within the array.

A 16 bit non-modifiable pointer descriptor.

Parameters

TInt aIndexThe position of the descriptor element within the array. The position is relative to zero; i.e. zero implies the first descriptor element in the array. This value must be non-negative and less than the number of descriptors currently within the array otherwise the operator panics with EArrayIndexOutOfRange