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 & aOpaqueDataA reference to the opaque data value.

~CCodecApiOpaqueData()

~CCodecApiOpaqueData()[virtual]

Destructor.

Member Functions Documentation

CompareInputDataType(const TDesC8 &)

IMPORT_C TBoolCompareInputDataType(const TDesC8 &aDataType)

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

Parameters

const TDesC8 & aDataTypeThe value to be compared to.

CompareOutputDataType(const TDesC8 &)

IMPORT_C TBoolCompareOutputDataType(const TDesC8 &aDataType)

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

Parameters

const TDesC8 & aDataTypeThe value to be compared to.

ConstructL()

voidConstructL()[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 & aDataThe value to be converted.

ConvertTextToUidL(const TDesC8 &, TUid &)

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

Converts a given string to a UID.

Parameters

const TDesC8 & aDataThe 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 & aOpaqueDataA 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 & aOpaqueDataA reference to the opaque data value.

OutputDataType()

IMPORT_C const TDesC8 &OutputDataType()const

Returns the value of the output data type.

ParseTaggedDataL()

voidParseTaggedDataL()[protected]

ProcessTaggedDataL(const TDesC8 &, const TDesC8 &)

voidProcessTaggedDataL(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 & aTagA constant reference to a tag from the opaque data. Can be <i>, <s> and <d>.
const TDesC8 & aDataThe data associated with a tag.

SetMediaUidL(const TDesC8 &)

voidSetMediaUidL(const TDesC8 &aData)[protected]

Sets the value of the media UID data.

Parameters

const TDesC8 & aDataThe value to set the media uid to.

TypeUid()

IMPORT_C TUidTypeUid()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]