CCodecApiOpaqueData Class Reference

class CCodecApiOpaqueData : public CBase

Used to parse the opaque data of codec plugins.

Inherits from

Constructor & Destructor Documentation

CCodecApiOpaqueData(const TDesC8 &)

CCodecApiOpaqueData ( const TDesC8 & aOpaqueData ) [protected]

Constructor.

Parameters

const TDesC8 & aOpaqueData A reference to the opaque data value.

~CCodecApiOpaqueData()

~CCodecApiOpaqueData ( ) [virtual]

Destructor.

Member Functions Documentation

CompareInputDataType(const TDesC8 &)

IMPORT_C TBool CompareInputDataType ( const TDesC8 & aDataType )

Compares the input data type with the argument of the method.

Parameters

const TDesC8 & aDataType The value to be compared to.

CompareOutputDataType(const TDesC8 &)

IMPORT_C TBool CompareOutputDataType ( const TDesC8 & aDataType )

Compares the output data type with the argument of the method.

Parameters

const TDesC8 & aDataType The value to be compared to.

ConstructL()

void ConstructL ( ) [protected]

Sets up the data inside the class by calling ParseTaggedDataL() .

ConvertTextToTUintL(const TDesC8 &)

TUint ConvertTextToTUintL ( const TDesC8 & aData ) [protected]

Converts a given string to an integer.

Parameters

const TDesC8 & aData The value to be converted.

ConvertTextToUidL(const TDesC8 &, TUid &)

void ConvertTextToUidL ( const TDesC8 & aData,
TUid & aUid
) [protected]

Converts a given string to a UID.

Parameters

const TDesC8 & aData The value after conversion.
TUid & aUid

InputDataType()

IMPORT_C const TDesC8 & InputDataType ( ) const

Returns the value of the input data type.

NewL(const TDesC8 &)

IMPORT_C CCodecApiOpaqueData * NewL ( const TDesC8 & aOpaqueData ) [static]

Creates a new CCodecApiOpaqueData object.

Parameters

const TDesC8 & aOpaqueData A reference to the opaque data value.

NewLC(const TDesC8 &)

IMPORT_C CCodecApiOpaqueData * NewLC ( const TDesC8 & aOpaqueData ) [static]

Creates a new CCodecApiOpaqueData object and leaves a pointer to it on the cleanup stack.

Parameters

const TDesC8 & aOpaqueData A reference to the opaque data value.

OutputDataType()

IMPORT_C const TDesC8 & OutputDataType ( ) const

Returns the value of the output data type.

ParseTaggedDataL()

void ParseTaggedDataL ( ) [protected]

ProcessTaggedDataL(const TDesC8 &, const TDesC8 &)

void ProcessTaggedDataL ( const TDesC8 & aTag,
const TDesC8 & aData
) [protected, virtual]

Sets member data to the value of the given opaque data, based upon the tag value provided.

Parameters

const TDesC8 & aTag A constant reference to a tag from the opaque data. Can be <i>, <s> and <d>.
const TDesC8 & aData The data associated with a tag.

SetMediaUidL(const TDesC8 &)

void SetMediaUidL ( const TDesC8 & aData ) [protected]

Sets the value of the media UID data.

Parameters

const TDesC8 & aData The value to set the media uid to.

TypeUid()

IMPORT_C TUid TypeUid ( ) const

Returns the value of the type UID data member.

Member Data Documentation

HBufC8 * iInputDataFormat

HBufC8 * iInputDataFormat [private]

const TDesC8 & iOpaqueData

const TDesC8 & iOpaqueData [private]

HBufC8 * iOutputDataFormat

HBufC8 * iOutputDataFormat [private]

TUid iTypeUid

TUid iTypeUid [private]