CMetaDataFieldContainer Class Reference

class CMetaDataFieldContainer : public CBase

This class implements

MetaDataUtility.lib
Since
3.0

Inherits from

Constructor & Destructor Documentation

CMetaDataFieldContainer()

CMetaDataFieldContainer ( ) [private]

C++ default constructor.

~CMetaDataFieldContainer()

~CMetaDataFieldContainer ( ) [virtual]

Destructor.

Member Functions Documentation

AppendL(TMetaDataFieldId, const TDesC &)

IMPORT_C void AppendL ( TMetaDataFieldId aFieldId,
const TDesC & aData
)
Adds a metadata field to the container.
Since
3.2

Parameters

TMetaDataFieldId aFieldId Metadata field ID
const TDesC & aData Metadata field contents

AppendL(TMetaDataFieldId, const TDesC8 &)

IMPORT_C void AppendL ( TMetaDataFieldId aFieldId,
const TDesC8 & aData
)
Adds a metadata field to the container.
Since
3.2

Parameters

TMetaDataFieldId aFieldId Metadata field ID
const TDesC8 & aData Metadata 8 bit field contents

At(TInt, TMetaDataFieldId &)

IMPORT_C TPtrC At ( TInt aPosition,
TMetaDataFieldId & aFieldId
) const
Returns the field at given location. First element at position 0.
Since
3.0

Parameters

TInt aPosition Position within the container
TMetaDataFieldId & aFieldId On return, metadata field ID

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

Count()

IMPORT_C TInt Count ( ) const
Returns the number of metadata fields.
Since
3.0

Field(TMetaDataFieldId)

IMPORT_C TPtrC Field ( TMetaDataFieldId aFieldId ) const
Returns the metadata field that corresponds to the field ID. If the field is not found, returns KNullDesC.
Since
3.0

Parameters

TMetaDataFieldId aFieldId Metadata field ID

Field8(TMetaDataFieldId)

IMPORT_C TPtrC8 Field8 ( TMetaDataFieldId aFieldId ) const
Returns the metadata field that corresponds to the field ID. If the field is not found, returns KNullDesC.
Since
3.0

Parameters

TMetaDataFieldId aFieldId Metadata field ID

FieldIdAt(TInt, TMetaDataFieldId &)

IMPORT_C void FieldIdAt ( TInt aPosition,
TMetaDataFieldId & aFieldId
) const
Populates the field ID at given location.
Since
3.2

Parameters

TInt aPosition Position within the container
TMetaDataFieldId & aFieldId On return, metadata field ID

NewL()

CMetaDataFieldContainer * NewL ( ) [static]

Two-phased constructor.

Member Data Documentation

TBool i16BitAlbumArt

TBool i16BitAlbumArt [private]

HBufC16 * iD16

HBufC16 * iD16 [private]

RPointerArray< CMetaDataField > iFields

RPointerArray < CMetaDataField > iFields [private]