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()

void Clear ( ) [protected]

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

Since
S60 3.2.3

ConstructL()

void ConstructL ( ) [protected]

2nd phase contructor.

Since
S60 3.2.3

ConstructL(const CMPXMediaBase &)

void ConstructL ( const CMPXMediaBase & aBase ) [protected]

2nd phase contructor.

Since
S60 3.2.3

Parameters

const CMPXMediaBase & aBase media base object to be copied

ConstructL(TInt)

void ConstructL ( TInt aDataHandle ) [protected]

2nd phase contructor.

Since
S60 3.2.3

Parameters

TInt aDataHandle data handle to the global object to be copied

ConstructL(TInt, MMPXData &)

void ConstructL ( TInt aDataHandle,
MMPXData & aData
) [protected]

2nd phase contructor.

Since
S60 3.2.3
leave
KErrArgument DataHandle is zero

Parameters

TInt aDataHandle data handle to the global oject to be copied
MMPXData & aData data object to be copied

CopyConstructL(const CMPXMediaBase &)

void CopyConstructL ( const CMPXMediaBase & aBase ) [protected]

2nd phase contructor.

Since
S60 3.2.3

Parameters

const CMPXMediaBase & aBase media base object to be copied. Deep copy.

Count()

TInt Count ( ) const [protected, inline]

Number of values.

Since
S60 3.2.3

DeleteLocal(TInt)

void DeleteLocal ( TInt aIndex ) [protected]

Delete locally by index.

Since
S60 3.2.3

Parameters

TInt aIndex index to the values array

DeleteLocalByUid(const TInt)

void DeleteLocalByUid ( const TInt aUid ) [private]

Delete locally held data.

Since
S60 3.2.3

Parameters

const TInt aUid Uid of the value to be deleted

DeletePtr(TAny *, TMPXAttributeType)

void DeletePtr ( TAny * aValue,
TMPXAttributeType aType
) [protected]

Delete a pointer.

Since
S60 3.2.3

Parameters

TAny * aValue value to be deleted media attribute type
TMPXAttributeType aType

DoExternalizeL(RWriteStream &, MMPXData::TMPXObjectType)

void DoExternalizeL ( RWriteStream & aStream,
MMPXData::TMPXObjectType aType
) const [protected]

Externalize media object.

Since
S60 3.2.3

Parameters

RWriteStream & aStream reference to the stream object
MMPXData::TMPXObjectType aType object type

DoInternalizeL(RReadStream &, MMPXData::TMPXObjectType)

void DoInternalizeL ( RReadStream & aStream,
MMPXData::TMPXObjectType aType
) [protected]

Internalize media object.

Since
S60 3.2.3
leave
KErrArgument aType is invalid

Parameters

RReadStream & aStream reference to the stream object
MMPXData::TMPXObjectType aType object type

LocalValue(TInt)

const TValue * LocalValue ( TInt aUid ) const [protected]

Locally stored value, or NULL if not stored locally.

Since
S60 3.2.3

Parameters

TInt aUid uid of the media attribute

LockHeapLC()

void LockHeapLC ( ) const [protected]

Lock heap and push UnlockHeap into cleanupstack.

Since
S60 3.2.3

ResetLocal()

void ResetLocal ( ) [protected, virtual]

Clears locally cached contents.

Since
S60 3.2.3

SetLocal(const TValue &)

int SetLocal ( const TValue & aValue ) [protected]

Set locally held data.

Since
S60 3.2.3

Parameters

const TValue & aValue value to be held

UnlockHeap(TAny *)

void UnlockHeap ( TAny * aMediaBase ) [protected, static]

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

Since
S60 3.2.3

Parameters

TAny * aMediaBase a 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]