CMPXMediaBase Class Reference

class CMPXMediaBase : public CBase

Base class of global data classes.

mpxcommon.lib

Inherits from

Nested Classes and Structures

Constructor & Destructor Documentation

CMPXMediaBase()

CMPXMediaBase()[protected]

C++ default constructor.

Since
S60 3.2.3

~CMPXMediaBase()

~CMPXMediaBase()[protected]

Destructor.

Since
S60 3.2.3

Member Functions Documentation

Clear()

voidClear()[protected]

Clears all data associated with this object; ready to be assigned new data.

Since
S60 3.2.3

ConstructL()

voidConstructL()[protected]

2nd phase contructor.

Since
S60 3.2.3

ConstructL(const CMPXMediaBase &)

voidConstructL(const CMPXMediaBase &aBase)[protected]

2nd phase contructor.

Since
S60 3.2.3

Parameters

const CMPXMediaBase & aBasemedia base object to be copied

ConstructL(TInt)

voidConstructL(TIntaDataHandle)[protected]

2nd phase contructor.

Since
S60 3.2.3

Parameters

TInt aDataHandledata handle to the global object to be copied

ConstructL(TInt, MMPXData &)

voidConstructL(TIntaDataHandle,
MMPXData &aData
)[protected]

2nd phase contructor.

Since
S60 3.2.3
leave
KErrArgument DataHandle is zero

Parameters

TInt aDataHandledata handle to the global oject to be copied
MMPXData & aDatadata object to be copied

CopyConstructL(const CMPXMediaBase &)

voidCopyConstructL(const CMPXMediaBase &aBase)[protected]

2nd phase contructor.

Since
S60 3.2.3

Parameters

const CMPXMediaBase & aBasemedia base object to be copied. Deep copy.

Count()

TInt Count()const [protected, inline]

Number of values.

Since
S60 3.2.3

DeleteLocal(TInt)

voidDeleteLocal(TIntaIndex)[protected]

Delete locally by index.

Since
S60 3.2.3

Parameters

TInt aIndexindex to the values array

DeleteLocalByUid(const TInt)

voidDeleteLocalByUid(const TIntaUid)[private]

Delete locally held data.

Since
S60 3.2.3

Parameters

const TInt aUidUid of the value to be deleted

DeletePtr(TAny *, TMPXAttributeType)

voidDeletePtr(TAny *aValue,
TMPXAttributeTypeaType
)[protected]

Delete a pointer.

Since
S60 3.2.3

Parameters

TAny * aValuevalue to be deleted media attribute type
TMPXAttributeType aType

DoExternalizeL(RWriteStream &, MMPXData::TMPXObjectType)

voidDoExternalizeL(RWriteStream &aStream,
MMPXData::TMPXObjectTypeaType
)const [protected]

Externalize media object.

Since
S60 3.2.3

Parameters

RWriteStream & aStreamreference to the stream object
MMPXData::TMPXObjectType aTypeobject type

DoInternalizeL(RReadStream &, MMPXData::TMPXObjectType)

voidDoInternalizeL(RReadStream &aStream,
MMPXData::TMPXObjectTypeaType
)[protected]

Internalize media object.

Since
S60 3.2.3
leave
KErrArgument aType is invalid

Parameters

RReadStream & aStreamreference to the stream object
MMPXData::TMPXObjectType aTypeobject type

LocalValue(TInt)

const TValue *LocalValue(TIntaUid)const [protected]

Locally stored value, or NULL if not stored locally.

Since
S60 3.2.3

Parameters

TInt aUiduid of the media attribute

LockHeapLC()

voidLockHeapLC()const [protected]

Lock heap and push UnlockHeap into cleanupstack.

Since
S60 3.2.3

ResetLocal()

voidResetLocal()[protected, virtual]

Clears locally cached contents.

Since
S60 3.2.3

SetLocal(const TValue &)

intSetLocal(const TValue &aValue)[protected]

Set locally held data.

Since
S60 3.2.3

Parameters

const TValue & aValuevalue to be held

UnlockHeap(TAny *)

voidUnlockHeap(TAny *aMediaBase)[protected, static]

Cleanup operation which will be invoked by the CleanupStack::PopAndDestroy().

Since
S60 3.2.3

Parameters

TAny * aMediaBasea media based object

Member Data Documentation

TUint iClientHandle

TUint iClientHandle[protected]

MMPXData * iData

MMPXData *iData[protected]

TUint iDataHandle

TUint iDataHandle[protected]

RHashMap< TInt, TValue > iValues

RHashMap< TInt, TValue >iValues[private]