#include <caf/metadataarray.h>
Link against: cafutils.lib
class ContentAccess::CMetaDataArray : public CBase |
Public Member Functions | |
---|---|
virtual | ~CMetaDataArray() |
IMPORT_C void | AddL(const TDesC8 &, const TDesC8 &) |
IMPORT_C void | AddL(const TDesC &, const TDesC &) |
IMPORT_C TInt | Count() |
IMPORT_C void | ExternalizeL(RWriteStream &) |
IMPORT_C CMetaDataArray * | NewL() |
IMPORT_C CMetaDataArray * | NewL(RReadStream &) |
IMPORT_C CMetaDataArray * | NewLC() |
IMPORT_C const TDesC & | SearchL(const TDesC &, TBool) |
IMPORT_C const TDesC8 & | SearchL(const TDesC8 &, TBool) |
IMPORT_C const CMetaData & | operator[](TInt) |
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.
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Externalizes the CMetaDataArray object to a stream.
Parameters | |
---|---|
aStream | The stream to write the header information to. |
IMPORT_C CMetaDataArray * | NewL | ( | ) | [static] |
IMPORT_C CMetaDataArray * | NewL | ( | RReadStream & | aStream | ) | [static] |
Construct a CMetaDataArray from a stream
Parameters | |
---|---|
aStream | the stream containing the metadata array |
IMPORT_C CMetaDataArray * | NewLC | ( | ) | [static] |
Find the unicode data for a given unicode field.
Parameters | |
---|---|
aField | The field to retrieve |
aMatchCase | ETrue To perform case sensitive search, EFalse - To perform non case sensitive search |
Find the 8 bit data for a given 8 bit field.
Parameters | |
---|---|
aField8 | The field to retrieve |
aMatchCase | ETrue To perform case sensitive search, EFalse - To perform non case sensitive search |