CMetaDataFieldContainer Class Reference

class CMetaDataFieldContainer : public CBase

This class implements

MetaDataUtility.lib
Since
3.0

Inherits from

  • CMetaDataFieldContainer

Constructor & Destructor Documentation

CMetaDataFieldContainer()

CMetaDataFieldContainer()[private]

C++ default constructor.

~CMetaDataFieldContainer()

~CMetaDataFieldContainer()[virtual]

Destructor.

Member Functions Documentation

AppendL(TMetaDataFieldId, const TDesC &)

IMPORT_C voidAppendL(TMetaDataFieldIdaFieldId,
const TDesC &aData
)
Adds a metadata field to the container.
Since
3.2

Parameters

TMetaDataFieldId aFieldIdMetadata field ID
const TDesC & aDataMetadata field contents

AppendL(TMetaDataFieldId, const TDesC8 &)

IMPORT_C voidAppendL(TMetaDataFieldIdaFieldId,
const TDesC8 &aData
)
Adds a metadata field to the container.
Since
3.2

Parameters

TMetaDataFieldId aFieldIdMetadata field ID
const TDesC8 & aDataMetadata 8 bit field contents

At(TInt, TMetaDataFieldId &)

IMPORT_C TPtrCAt(TIntaPosition,
TMetaDataFieldId &aFieldId
)const
Returns the field at given location. First element at position 0.
Since
3.0

Parameters

TInt aPositionPosition within the container
TMetaDataFieldId & aFieldIdOn return, metadata field ID

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

Count()

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

Field(TMetaDataFieldId)

IMPORT_C TPtrCField(TMetaDataFieldIdaFieldId)const
Returns the metadata field that corresponds to the field ID. If the field is not found, returns KNullDesC.
Since
3.0

Parameters

TMetaDataFieldId aFieldIdMetadata field ID

Field8(TMetaDataFieldId)

IMPORT_C TPtrC8Field8(TMetaDataFieldIdaFieldId)const
Returns the metadata field that corresponds to the field ID. If the field is not found, returns KNullDesC.
Since
3.0

Parameters

TMetaDataFieldId aFieldIdMetadata field ID

FieldIdAt(TInt, TMetaDataFieldId &)

IMPORT_C voidFieldIdAt(TIntaPosition,
TMetaDataFieldId &aFieldId
)const
Populates the field ID at given location.
Since
3.2

Parameters

TInt aPositionPosition within the container
TMetaDataFieldId & aFieldIdOn 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]