CImageTypeDescription Class Reference

class CImageTypeDescription : public CBase

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

Inherits from

  • CImageTypeDescription

Constructor & Destructor Documentation

CImageTypeDescription(const TUid, const TUid)

CImageTypeDescription(const TUidaImageType,
const TUidaSubType
)[private]

Default constructor.

Parameters

const TUid aImageTypeThe plugin decoder/encoder type UID.
const TUid aSubTypeThe plugin decoder/encoder sub-type UID

~CImageTypeDescription()

IMPORT_C~CImageTypeDescription()

Destructor.

Member Functions Documentation

ConstructL(const TDesC &)

voidConstructL(const TDesC &aDescription)[private]

Second phase constructor.

Parameters

const TDesC & aDescriptionA description of the plugin decoder/encoder.

Description()

IMPORT_C const TDesC &Description()const

Returns the image description info.

ImageType()

IMPORT_C TUidImageType()const

Returns the image type info.

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

CImageTypeDescription *NewL(const TDesC &aDescription,
const TUidaImageType,
const TUidaSubType
)[static]

Constructs a new image type description entry.

A leave occurs if there is insufficient memory available.

Parameters

const TDesC & aDescriptionA description of the plugin decoder/encoder.
const TUid aImageTypeThe plugin decoder/encoder type UID.
const TUid aSubTypeThe plugin decoder/encoder sub-type UID.

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

CImageTypeDescription *NewLC(const TDesC &aDescription,
const TUidaImageType,
const TUidaSubType
)[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 & aDescriptionA description of the plugin decoder/encoder.
const TUid aImageTypeThe plugin decoder/encoder type UID.
const TUid aSubTypeThe plugin decoder/encoder sub-type UID.

SubType()

IMPORT_C TUidSubType()const

Returns the image sub-type information.

Member Data Documentation

HBufC * iDescription

HBufC *iDescription[private]

const TUid iImageType

const TUidiImageType[private]

const TUid iSubType

const TUidiSubType[private]