CCdlNames Class Reference
class CCdlNames : public CArrayPtrFlat< HBufC > |
A collection of names stored as HBufC*. This collection contains one instance of each name. CdlEngine::CompareNames() is used to check whether two names are the same. This collection type is used as a string pool for the CCdlRefs class, where there are many TCdlRefs that share the same name. This class is used instead of CDesCArray because the descriptors returned by CDesCArray are not referenceable. The HBufCs in the array are owned by this class.
Inherited Functions |
---|
| CArrayFix< HBufC * >::AppendL(const HBufC *&) |
| CArrayFix< HBufC * >::AppendL(const HBufC *&,TInt) |
| CArrayFix< HBufC * >::AppendL(const HBufC **,TInt) |
| CArrayFix< HBufC * >::Array()const |
| CArrayFix< HBufC * >::At(TInt) |
| CArrayFix< HBufC * >::At(TInt)const |
| CArrayFix< HBufC * >::Back(TInt) |
| CArrayFix< HBufC * >::Back(TInt)const |
| CArrayFix< HBufC * >::CArrayFix(TBufRep,TInt) |
| CArrayFix< HBufC * >::End(TInt) |
| CArrayFix< HBufC * >::End(TInt)const |
| CArrayFix< HBufC * >::ExpandL(TInt) |
| CArrayFix< HBufC * >::ExtendL() |
| CArrayFix< HBufC * >::Find(const HBufC *&,TKeyArrayFix &,TInt &)const |
| CArrayFix< HBufC * >::FindIsq(const HBufC *&,TKeyArrayFix &,TInt &)const |
| CArrayFix< HBufC * >::InsertIsqAllowDuplicatesL(const HBufC *&,TKeyArrayFix &) |
| CArrayFix< HBufC * >::InsertIsqL(const HBufC *&,TKeyArrayFix &) |
| CArrayFix< HBufC * >::InsertL(TInt,const HBufC *&) |
| CArrayFix< HBufC * >::InsertL(TInt,const HBufC *&,TInt) |
| CArrayFix< HBufC * >::InsertL(TInt,const HBufC **,TInt) |
| CArrayFix< HBufC * >::ResizeL(TInt) |
| CArrayFix< HBufC * >::ResizeL(TInt,const HBufC *&) |
| CArrayFix< HBufC * >::operator[](TInt) |
| CArrayFix< HBufC * >::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() |
| CArrayPtr< HBufC >::CArrayPtr(TBufRep,TInt) |
| CArrayPtr< HBufC >::ResetAndDestroy() |
| CArrayPtrFlat< HBufC >::CArrayPtrFlat(TInt) |
| CArrayPtrFlat< HBufC >::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
Member Functions Documentation
AddL(const TDesC &)
Adds a name to the collection. If the name is already present in the collection is not added again. In any case, the names HBufC* in the collection is returned.
Parameters
const TDesC & aName | the name to add to the collection. |
CleanupImport(TAny *)
void | CleanupImport | ( | TAny * | aThis | ) | [private, static] |
DoCleanupImport()
void | DoCleanupImport | ( | ) | [private] |
ExportL()
IMPORT_C HBufC8 * | ExportL | ( | ) | const |
Creates a descriptor containing the exported collection of names
ExportLC()
IMPORT_C HBufC8 * | ExportLC | ( | ) | const |
Creates a descriptor containing the exported collection of names
FindIndex(const TDesC &)
IMPORT_C TInt | FindIndex | ( | const TDesC & | aName | ) | const |
Finds the array index of a name in this collection.
Parameters
const TDesC & aName | the name to look for. |
ImportL(const TDesC8 &)
IMPORT_C void | ImportL | ( | const TDesC8 & | aDes | ) | |
Populates the collection from a descriptor containing an exported collection of names.
Parameters
const TDesC8 & aDes | a descriptor containing a collection of names, which has been exported by ExportL or ExportLC. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.