CCodecApiResolverData Class Reference

class CCodecApiResolverData : public CBase

Streaming class used to pass parameters from the Codec API to the resolver.

Inherits from

  • CCodecApiResolverData

Constructor & Destructor Documentation

CCodecApiResolverData()

CCodecApiResolverData()[private]

Default constructor.

~CCodecApiResolverData()

~CCodecApiResolverData()[virtual]

Destructor.

Member Functions Documentation

ConstructL(const TDesC8 &)

voidConstructL(const TDesC8 &aPackage)[private]

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

Parameters

const TDesC8 & aPackageA reference to the data that will be contained by this class.

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const [private]

Externalizes the object to a stream. All the member variables will be written to the stream.

Parameters

RWriteStream & aStreamA reference to the stream to which the member variables will be written.

ImplementationType()

IMPORT_C TUidImplementationType()const

Retrieves the implementation type to match against.

InputDataFormat()

IMPORT_C const TPtrC8InputDataFormat()const

Retrieves the input data format string to match against. If no string is set a null descriptor is returned.

InternalizeL(RReadStream &)

voidInternalizeL(RReadStream &aStream)[private]

Internalizes the object from a stream. All the member variables will be read from the streamed.

Parameters

RReadStream & aStreamA reference to the stream from which data will be read to setup the member variables.

MatchType()

IMPORT_C TCodecApiResolverMatchTypeMatchType()const

Retrieves the match type to match against.

NewL()

IMPORT_C CCodecApiResolverData *NewL()[static]

Creates a new CodedApiResolverStandard object.

NewL(const TDesC8 &)

IMPORT_C CCodecApiResolverData *NewL(const TDesC8 &aPackage)[static]

Creates a new CodedApiResolverStandard object.

Parameters

const TDesC8 & aPackageA reference to a descriptor created using PackL() used to initialize the object.

NewLC()

IMPORT_C CCodecApiResolverData *NewLC()[static]

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

NewLC(const TDesC8 &)

IMPORT_C CCodecApiResolverData *NewLC(const TDesC8 &aPackage)[static]

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

Parameters

const TDesC8 & aPackageA reference to a descriptor created using PackL() used to initialize the object.

NewPackLC()

IMPORT_C HBufC8 *NewPackLC()const

Packages the object up into a descriptor.

OutputDataFormat()

IMPORT_C const TPtrC8OutputDataFormat()const

Retrieves the output data format string to match against. If no string is set a null descriptor is returned.

SetImplementationType(const TUid &)

IMPORT_C voidSetImplementationType(const TUid &aImplementationType)

Sets the implementation type to match against.

Parameters

const TUid & aImplementationTypeThe implementation uid of a specific codec to match against.

SetInputDataL(const TDesC8 &)

IMPORT_C voidSetInputDataL(const TDesC8 &aDataType)

Sets the input data type to match against.

Parameters

const TDesC8 & aDataTypeThe input data type of a codec to match against.

SetMatchType(const TCodecApiResolverMatchType &)

IMPORT_C voidSetMatchType(const TCodecApiResolverMatchType &aType)

Sets the match type to match against.

Parameters

const TCodecApiResolverMatchType & aTypeThe type of match requested.

SetOutputDataL(const TDesC8 &)

IMPORT_C voidSetOutputDataL(const TDesC8 &aDataType)

Sets the output data type to match against.

Parameters

const TDesC8 & aDataTypeThe output data type of a codec to match against.

UnPackL(const TDesC8 &)

IMPORT_C voidUnPackL(const TDesC8 &aPackage)

Unpacks a packed descriptor.

Parameters

const TDesC8 & aPackageA reference to a desctriptor created.

Member Data Documentation

TUid iImplementationType

TUid iImplementationType[private]

HBufC8 * iInputDataFormat

HBufC8 *iInputDataFormat[private]

TCodecApiResolverMatchType iMatchType

TCodecApiResolverMatchType iMatchType[private]

HBufC8 * iOutputDataFormat

HBufC8 *iOutputDataFormat[private]