TMPXAttribute Class Reference

class TMPXAttribute

TMPXAttribute data type class. It represents unique id of an item, e.g. a song in the device.

mpxcommon.lib

Constructor & Destructor Documentation

TMPXAttribute()

IMPORT_C TMPXAttribute ( )

C++ default constructor.

Since
S60 3.2.3

TMPXAttribute(TInt, TUint)

IMPORT_C TMPXAttribute ( TInt aContentId,
TUint aAttributeId
)

C++ constructor.

Since
S60 3.2.3

Parameters

TInt aContentId media content id
TUint aAttributeId attribute id within the content

TMPXAttribute(const TMPXAttribute &)

IMPORT_C TMPXAttribute ( const TMPXAttribute & aId )

Copy constructor.

Since
S60 3.2.3

Parameters

const TMPXAttribute & aId source of attribute id

TMPXAttribute(const TMPXAttributeData &)

IMPORT_C TMPXAttribute ( const TMPXAttributeData & aData )

Copy constructor.

Since
S60 3.2.3

Parameters

const TMPXAttributeData & aData source of attribute data

Member Functions Documentation

AttributeId()

IMPORT_C TUint AttributeId ( ) const

Attribute id.

Since
S60 3.2.3

ContentId()

IMPORT_C TInt ContentId ( ) const

Get content id.

Since
S60 3.2.3

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) const

Externalize the object of this class.

Since
S60 3.2.3

Parameters

RWriteStream & aStream write stream

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream )

Internalize the object of this class.

Since
S60 3.2.3

Parameters

RReadStream & aStream read stream

Match(const TMPXAttribute &, const TMPXAttribute &)

IMPORT_C TBool Match ( const TMPXAttribute & aFirst,
const TMPXAttribute & aSecond
) [static]

Helper function to do match in the RArray of the objects of this class.

Since
S60 3.2.3

Parameters

const TMPXAttribute & aFirst first object
const TMPXAttribute & aSecond second object

MatchContentId(const TMPXAttribute &, const TMPXAttribute &)

IMPORT_C TBool MatchContentId ( const TMPXAttribute & aFirst,
const TMPXAttribute & aSecond
) [static]

Helper function to do match in the RArray of the objects of this class by content id.

Since
S60 3.2.3

Parameters

const TMPXAttribute & aFirst first object
const TMPXAttribute & aSecond second object

operator=(const TMPXAttribute &)

IMPORT_C TMPXAttribute & operator= ( const TMPXAttribute & aId )

Overloaded assignment operator.

Since
S60 3.2.3

Parameters

const TMPXAttribute & aId source of attribute

operator==(const TMPXAttribute &)

IMPORT_C TBool operator== ( const TMPXAttribute & aId ) const

Overloaded equal operator.

Since
S60 3.2.3

Parameters

const TMPXAttribute & aId id to be compared

Member Data Documentation

TMPXAttributeData iData

TMPXAttributeData iData [private]