CImageTypeDescription Class Reference

#include <imageconversion.h>

Link against: imageconversion.lib

class CImageTypeDescription : public CBase

Inherits from

  • CImageTypeDescription

Detailed Description

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

Constructor & Destructor Documentation

~CImageTypeDescription ( )

IMPORT_C~CImageTypeDescription()

Destructor.

Member Function Documentation

Description ( )

IMPORT_C const TDesC &Description()const

Returns the image description info.

Return Value
A reference to the descriptor containing the description.

ImageType ( )

IMPORT_C TUidImageType()const

Returns the image type info.

Return Value
The image type info as a TUid object.

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
aDescriptionA description of the plugin decoder/encoder.
aImageTypeThe plugin decoder/encoder type UID.
aSubTypeThe plugin decoder/encoder sub-type UID.
Return Value
A pointer to the new image type description entry.

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
aDescriptionA description of the plugin decoder/encoder.
aImageTypeThe plugin decoder/encoder type UID.
aSubTypeThe plugin decoder/encoder sub-type UID.
Return Value
A pointer to the new image type description entry.

SubType ( )

IMPORT_C TUidSubType()const

Returns the image sub-type information.

Return Value
The image sub-type information as a TUid object.