CPtrC8Array Class Reference

class CPtrC8Array : public CArrayFixFlat< TPtrC8 >
Array of 8 bit non-modifiable pointer descriptors, TPtrC8, implemented using a flat buffer. "bafl.lib"
Since
5.0
Public Member Functions
CPtrC8Array(TInt)
~CPtrC8Array()
IMPORT_C voidCopyL(const MDesC8Array &)
IMPORT_C TIntMdcaCount()
IMPORT_C TPtrC8MdcaPoint(TInt)
voidoperator=(const MDesC8Array &)
Inherited Functions
CArrayFix< TPtrC8 >::AppendL(const TPtrC8 &)
CArrayFix< TPtrC8 >::AppendL(const TPtrC8 &,TInt)
CArrayFix< TPtrC8 >::AppendL(const TPtrC8 *,TInt)
CArrayFix< TPtrC8 >::Array()const
CArrayFix< TPtrC8 >::At(TInt)
CArrayFix< TPtrC8 >::At(TInt)const
CArrayFix< TPtrC8 >::Back(TInt)
CArrayFix< TPtrC8 >::Back(TInt)const
CArrayFix< TPtrC8 >::CArrayFix(TBufRep,TInt)
CArrayFix< TPtrC8 >::End(TInt)
CArrayFix< TPtrC8 >::End(TInt)const
CArrayFix< TPtrC8 >::ExpandL(TInt)
CArrayFix< TPtrC8 >::ExtendL()
CArrayFix< TPtrC8 >::Find(const TPtrC8 &,TKeyArrayFix &,TInt &)const
CArrayFix< TPtrC8 >::FindIsq(const TPtrC8 &,TKeyArrayFix &,TInt &)const
CArrayFix< TPtrC8 >::InsertIsqAllowDuplicatesL(const TPtrC8 &,TKeyArrayFix &)
CArrayFix< TPtrC8 >::InsertIsqL(const TPtrC8 &,TKeyArrayFix &)
CArrayFix< TPtrC8 >::InsertL(TInt,const TPtrC8 &)
CArrayFix< TPtrC8 >::InsertL(TInt,const TPtrC8 &,TInt)
CArrayFix< TPtrC8 >::InsertL(TInt,const TPtrC8 *,TInt)
CArrayFix< TPtrC8 >::ResizeL(TInt)
CArrayFix< TPtrC8 >::ResizeL(TInt,const TPtrC8 &)
CArrayFix< TPtrC8 >::operator[](TInt)
CArrayFix< TPtrC8 >::operator[](TInt)const
CArrayFixBase::AtR(const CBase *,TInt)
CArrayFixBase::CArrayFixBase(TBufRep,TInt,TInt)
CArrayFixBase::Compress()
CArrayFixBase::Count()const
CArrayFixBase::CountR(const CBase *)
CArrayFixBase::Delete(TInt)
CArrayFixBase::Delete(TInt,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::Reset()
CArrayFixBase::ResizeL(TInt,const TAny *)
CArrayFixBase::SetKey(TKeyArrayFix &)const
CArrayFixBase::SetReserveFlatL(TInt)
CArrayFixBase::Sort(TKeyArrayFix &)
CArrayFixBase::~CArrayFixBase()
CArrayFixFlat< TPtrC8 >::CArrayFixFlat(TInt)
CArrayFixFlat< TPtrC8 >::SetReserveL(TInt)
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

CPtrC8Array(TInt)

IMPORT_CCPtrC8Array(TIntaGranularity)

Constructs an array of 8 bit non-modifiable descriptors with the specified granularity. The length of all elements in the array buffer is the length of a TPtrC8 object.

No memory is allocated to the array buffer by this constructor.

Parameters

TInt aGranularityThe granularity of the array. This value must be positive otherwise the constructor raises an E32USER-CBase 18 panic.

~CPtrC8Array()

IMPORT_C~CPtrC8Array()

Frees all resources owned by the object, prior to its destruction.

Member Functions Documentation

CopyL(const MDesC8Array &)

IMPORT_C voidCopyL(const MDesC8Array &aArray)

Copies a descriptor array into this array, deleting any pre-existing elements.

The function constructs TPtrC8 elements for each descriptor element in the specified descriptor array.

Parameters

const MDesC8Array & aArrayA reference to any descriptor array which satisfies the protocol defined by this mixin class.

MdcaCount()

IMPORT_C TIntMdcaCount()const

Returns the number of elements in the array. The function implements the pure virtual function MDesC8Array::MdcaCount().

MdcaPoint(TInt)

IMPORT_C TPtrC8MdcaPoint(TIntaIndex)const

Indexes into the descriptor array. The function implements the pure virtual function MDesC8Array::MdcaPoint().

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 must be less than the number of elements currently in the array otherwise the operator raises a E32USER-CBase 21 panic.

operator=(const MDesC8Array &)

voidoperator=(const MDesC8Array &aArray)[inline]

Copies a descriptor array into this array, deleting any pre-existing elements.

The function constructs TPtrC8 elements for each descriptor element in the specified descriptor array. This operator behaves in the same ways as CPtrC8Array::CopyL().

Parameters

const MDesC8Array & aArray