#include <caf/metadataarray.h>
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.
Parameter | Description |
---|---|
aStream | The stream to write the header information to. |
IMPORT_C CMetaDataArray * | NewL | ( | RReadStream & | aStream | ) | [static] |
Construct a CMetaDataArray from a stream
Parameter | Description |
---|---|
aStream | the stream containing the metadata array |
Returns: a new CMetaDataArray
Find the unicode data for a given unicode field.
Parameter | Description |
---|---|
aField | The field to retrieve |
aMatchCase | ETrue To perform case sensitive search, EFalse - To perform non case sensitive search |
Returns: The corresponding data or else a zero length string if the field was not found
Find the 8 bit data for a given 8 bit field.
Parameter | Description |
---|---|
aField8 | The field to retrieve |
aMatchCase | ETrue To perform case sensitive search, EFalse - To perform non case sensitive search |
Returns: The corresponding data or else a zero length string if the field was not found