CCnaConverter Class Reference

class CCnaConverter : public CBase

Holds the inherent properties of a converter.

These are its UID and the data types it supports.

Note that the setter functions affect only the current object, not the stored information for the converter.

Inherits from

Constructor & Destructor Documentation

CCnaConverter()

CCnaConverter()[private]

~CCnaConverter()

IMPORT_C~CCnaConverter()

Member Functions Documentation

AddMimeDataL(TResourceReader &, CArrayPtrFlat< CMimeInfo > &)

voidAddMimeDataL(TResourceReader &aReader,
CArrayPtrFlat< CMimeInfo > &aMimeInfo
)[private]

Parameters

TResourceReader & aReader
CArrayPtrFlat< CMimeInfo > & aMimeInfo

ConstructL()

voidConstructL()[private]

ConstructL(TUid, TResourceReader &)

voidConstructL(TUidaUid,
TResourceReader &aReader
)[private]

Parameters

TUid aUid
TResourceReader & aReader

CountFrom()

IMPORT_C TIntCountFrom()const

CountTo()

IMPORT_C TIntCountTo()const

FindMime(const TDataType &, const CArrayPtrFlat< CMimeInfo > *)

TBool FindMime(const TDataType &aMimeType,
const CArrayPtrFlat< CMimeInfo > *aList
)const [private]

Parameters

const TDataType & aMimeType
const CArrayPtrFlat< CMimeInfo > * aList

FindMimeText(const TDataType &, const CArrayPtrFlat< CMimeInfo > *)

TTranslation FindMimeText(const TDataType &aMimeType,
const CArrayPtrFlat< CMimeInfo > *aList
)const [private]

Parameters

const TDataType & aMimeType
const CArrayPtrFlat< CMimeInfo > * aList

MimeFrom(const TDataType &)

IMPORT_C TBoolMimeFrom(const TDataType &aMimeType)const

Parameters

const TDataType & aMimeType

MimeFrom(TInt)

IMPORT_C TDataTypeMimeFrom(TIntaIndex)const

Parameters

TInt aIndex

MimeFromText(const TDataType &)

IMPORT_C TTranslationMimeFromText(const TDataType &aMimeType)const

Parameters

const TDataType & aMimeType

MimeFromText(TInt)

IMPORT_C TTranslationMimeFromText(TIntaIndex)const

Parameters

TInt aIndex

MimeTo(const TDataType &)

IMPORT_C TBoolMimeTo(const TDataType &aMimeType)const

Parameters

const TDataType & aMimeType

MimeTo(TInt)

IMPORT_C TDataTypeMimeTo(TIntaIndex)const

Parameters

TInt aIndex

MimeToText(const TDataType &)

IMPORT_C TTranslationMimeToText(const TDataType &aMimeType)const

Parameters

const TDataType & aMimeType

MimeToText(TInt)

IMPORT_C TTranslationMimeToText(TIntaIndex)const

Parameters

TInt aIndex

NewL()

CCnaConverter *NewL()[static]

NewL(TUid)

IMPORT_C CCnaConverter *NewL(TUidaUid)[static]

Parameters

TUid aUid

NewL(const CCnaConverter &)

IMPORT_C CCnaConverter *NewL(const CCnaConverter &aConverter)[static]

Parameters

const CCnaConverter & aConverter

NewL(TUid, TResourceReader &)

CCnaConverter *NewL(TUidaUid,
TResourceReader &aReader
)[static]

Parameters

TUid aUid
TResourceReader & aReader

NewLC()

CCnaConverter *NewLC()[static]

NewLC(TUid)

IMPORT_C CCnaConverter *NewLC(TUidaUid)[static]

Parameters

TUid aUid

NewLC(const CCnaConverter &)

IMPORT_C CCnaConverter *NewLC(const CCnaConverter &aConverter)[static]

Parameters

const CCnaConverter & aConverter

SetUid(TUid)

IMPORT_C voidSetUid(TUidaUid)

Parameters

TUid aUid

Uid()

TUid Uid()const [inline]

Gets the converter UID.

Converter UID

Member Data Documentation

CArrayPtrFlat< CMimeInfo > * iMimeFrom

CArrayPtrFlat< CMimeInfo > *iMimeFrom[private]

CArrayPtrFlat< CMimeInfo > * iMimeTo

CArrayPtrFlat< CMimeInfo > *iMimeTo[private]

TUid iUid

TUid iUid[private]