ContentAccess::CMetaDataArray Class Reference
class ContentAccess::CMetaDataArray : public CBase |
Stores an array of CMetaData objects for use in a supplier import operation
It provides search and routines (for both 8 bit and Unicode) to find the value corresponding to a particular field in the array.
Applications should use the unicode search function whenever possible because it removes the risk of losing information during the unicode to 8 bit conversion.
Inherits from
- ContentAccess::CMetaDataArray
Constructor & Destructor Documentation
CMetaDataArray()
CMetaDataArray | ( | ) | [private] |
~CMetaDataArray()
~CMetaDataArray | ( | ) | [virtual] |
Member Functions Documentation
AddL(const TDesC8 &, const TDesC8 &)
IMPORT_C void | AddL | ( | const TDesC8 & | aField, |
| const TDesC8 & | aData |
| ) | |
Parameters
const TDesC8 & aField | The name used to index the value of interest |
const TDesC8 & aData | The data |
AddL(const TDesC &, const TDesC &)
IMPORT_C void | AddL | ( | const TDesC & | aField, |
| const TDesC & | aData |
| ) | |
Parameters
const TDesC & aField | The name used to index the value of interest |
const TDesC & aData | The data |
Count()
IMPORT_C TInt | Count | ( | ) | const |
The number of metadata objects in the list
ExternalizeL(RWriteStream &)
Parameters
RWriteStream & aStream | The stream to write the header information to. |
InternalizeL(RReadStream &)
NewL(RReadStream &)
Parameters
RReadStream & aStream | the stream containing the metadata array |
SearchL(const TDesC &, TBool)
IMPORT_C const TDesC & | SearchL | ( | const TDesC & | aField, |
| TBool | aMatchCase = EFalse |
| ) | const |
Find the unicode data for a given unicode field.
Parameters
const TDesC & aField | The field to retrieve |
TBool aMatchCase = EFalse | ETrue To perform case sensitive search, EFalse - To perform non case sensitive search |
SearchL(const TDesC8 &, TBool)
IMPORT_C const TDesC8 & | SearchL | ( | const TDesC8 & | aField8, |
| TBool | aMatchCase = EFalse |
| ) | const |
Find the 8 bit data for a given 8 bit field.
Parameters
const TDesC8 & aField8 | The field to retrieve |
TBool aMatchCase = EFalse | ETrue To perform case sensitive search, EFalse - To perform non case sensitive search |
operator[](TInt)
Retrieves the MetaData at the given index
Parameters
TInt aIndex | The index of the meta-data |
Member Data Documentation
RPointerArray< CMetaData > iArray
TInt
iMaxFieldLength
TInt
| iMaxFieldLength | [private] |
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.