CImageTypeDescription Class Reference

class CImageTypeDescription : public CBase

Class used to manage the mapping between an image's type, sub-type and description.

Inherits from

Constructor & Destructor Documentation

CImageTypeDescription(const TUid, const TUid)

CImageTypeDescription ( const TUid aImageType,
const TUid aSubType
) [private]

Default constructor.

Parameters

const TUid aImageType The plugin decoder/encoder type UID.
const TUid aSubType The plugin decoder/encoder sub-type UID

~CImageTypeDescription()

IMPORT_C ~CImageTypeDescription ( )

Destructor.

Member Functions Documentation

ConstructL(const TDesC &)

void ConstructL ( const TDesC & aDescription ) [private]

Second phase constructor.

Parameters

const TDesC & aDescription A description of the plugin decoder/encoder.

Description()

IMPORT_C const TDesC & Description ( ) const

Returns the image description info.

ImageType()

IMPORT_C TUid ImageType ( ) const

Returns the image type info.

NewL(const TDesC &, const TUid, const TUid)

CImageTypeDescription * NewL ( const TDesC & aDescription,
const TUid aImageType,
const TUid aSubType
) [static]

Constructs a new image type description entry.

A leave occurs if there is insufficient memory available.

Parameters

const TDesC & aDescription A description of the plugin decoder/encoder.
const TUid aImageType The plugin decoder/encoder type UID.
const TUid aSubType The plugin decoder/encoder sub-type UID.

NewLC(const TDesC &, const TUid, const TUid)

CImageTypeDescription * NewLC ( const TDesC & aDescription,
const TUid aImageType,
const TUid aSubType
) [static]

Constructs a new image type description entry. The new object created on the clean-up stack.

A leave occurs if there is insufficient memory available.

Parameters

const TDesC & aDescription A description of the plugin decoder/encoder.
const TUid aImageType The plugin decoder/encoder type UID.
const TUid aSubType The plugin decoder/encoder sub-type UID.

SubType()

IMPORT_C TUid SubType ( ) const

Returns the image sub-type information.

Member Data Documentation

HBufC * iDescription

HBufC * iDescription [private]

const TUid iImageType

const TUid iImageType [private]

const TUid iSubType

const TUid iSubType [private]