CCodecApiResolverData Class Reference

class CCodecApiResolverData : public CBase

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

Inherits from

Constructor & Destructor Documentation

CCodecApiResolverData()

CCodecApiResolverData ( ) [private]

Default constructor.

~CCodecApiResolverData()

~CCodecApiResolverData ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL(const TDesC8 &)

void ConstructL ( const TDesC8 & aPackage ) [private]

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

Parameters

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

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & aStream ) const [private]

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

Parameters

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

ImplementationType()

IMPORT_C TUid ImplementationType ( ) const

Retrieves the implementation type to match against.

InputDataFormat()

IMPORT_C const TPtrC8 InputDataFormat ( ) const

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

InternalizeL(RReadStream &)

void InternalizeL ( RReadStream & aStream ) [private]

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

Parameters

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

MatchType()

IMPORT_C TCodecApiResolverMatchType MatchType ( ) 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 & aPackage A 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 & aPackage A 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 TPtrC8 OutputDataFormat ( ) 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 void SetImplementationType ( const TUid & aImplementationType )

Sets the implementation type to match against.

Parameters

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

SetInputDataL(const TDesC8 &)

IMPORT_C void SetInputDataL ( const TDesC8 & aDataType )

Sets the input data type to match against.

Parameters

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

SetMatchType(const TCodecApiResolverMatchType &)

IMPORT_C void SetMatchType ( const TCodecApiResolverMatchType & aType )

Sets the match type to match against.

Parameters

const TCodecApiResolverMatchType & aType The type of match requested.

SetOutputDataL(const TDesC8 &)

IMPORT_C void SetOutputDataL ( const TDesC8 & aDataType )

Sets the output data type to match against.

Parameters

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

UnPackL(const TDesC8 &)

IMPORT_C void UnPackL ( const TDesC8 & aPackage )

Unpacks a packed descriptor.

Parameters

const TDesC8 & aPackage A 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]