TImHeaderEncodingInfo Class Reference

class TImHeaderEncodingInfo

Stores encoding data found in message headers.

Constructor & Destructor Documentation

TImHeaderEncodingInfo()

IMPORT_CTImHeaderEncodingInfo()

TImHeaderEncodingInfo(const TImHeaderEncodingInfo &)

IMPORT_CTImHeaderEncodingInfo(const TImHeaderEncodingInfo &aFrom)

Parameters

const TImHeaderEncodingInfo & aFrom

Member Functions Documentation

AddSpace()

TBool AddSpace()const [inline]

Tests if the add space character flag is set.

ArrayValue()

TInt ArrayValue()const [inline]

Gets the array value.

CharsetUid()

TUint CharsetUid()const [inline]

Gets the character set UID.

EncodedLength()

TInt EncodedLength()const [inline]

Gets the encoded length.

EncodingType()

TEncodingType EncodingType()const [inline]

Gets the encoding type (enumeration).

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aWriteStream)const

Parameters

RWriteStream & aWriteStream

Field()

TFieldList Field()const [inline]

Gets the field type.

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aReadStream)

Parameters

RReadStream & aReadStream

Length()

TInt Length()const [inline]

Gets the field length.

Offset()

TInt Offset()const [inline]

Gets the field offset.

SetAddSpace(const TBool)

voidSetAddSpace(const TBoolatrueFalse)[inline]

Sets if a space character needs adding between two adjoining encoded-words.

Parameters

const TBool atrueFalseTrue to add a space character

SetArrayValue(const TInt)

voidSetArrayValue(const TIntaValue)[inline]

Sets the array value.

Parameters

const TInt aValueArray value

SetCharsetUid(const TUint)

voidSetCharsetUid(const TUintaUid)[inline]

Sets the character set UID.

Parameters

const TUint aUidCharacter set UID

SetEncodedLength(const TInt)

voidSetEncodedLength(const TIntaLength)[inline]

Sets the encoded length.

Parameters

const TInt aLengthEncoded length

SetEncodingType(const TDesC8 &)

voidSetEncodingType(const TDesC8 &aChar)[inline]

Sets the encoding type (string).

Parameters

const TDesC8 & aCharEncoding type

SetEncodingType(const TEncodingType)

voidSetEncodingType(const TEncodingTypeaType)[inline]

Sets the encoding type (enumeration).

Parameters

const TEncodingType aTypeEncoding type

SetField(const TFieldList)

voidSetField(const TFieldListaField)[inline]

Sets the field type.

Parameters

const TFieldList aFieldField type

SetLength(const TInt)

voidSetLength(const TIntaLength)[inline]

Sets the field length.

Parameters

const TInt aLengthField length

SetOffset(const TInt)

voidSetOffset(const TIntaOffset)[inline]

Sets the field offset.

Parameters

const TInt aOffsetField offset

Member Enumerations Documentation

Enum TEncodingType

Encoding types.

Enumerators

EBase64

Base64.

EQP

QP.

ENoEncoding

No encoding

EUU

UU.

Enum TFieldList

Message field types.

Enumerators

EFrom

"From" field.

EReplyTo

"Reply To" field.

ETo

"To" field.

ECc

"Cc" field.

EBcc

"Bcc" field.

ESubject

Subject field.

Member Data Documentation

TBool iAddSpace

TBool iAddSpace[private]

TUint16 iArrayValue

TUint16 iArrayValue[private]

TUint iCharsetUid

TUint iCharsetUid[private]

TUint8 iEncodedLength

TUint8 iEncodedLength[private]

TFieldList iField

TFieldList iField[private]

TUint16 iLength

TUint16 iLength[private]

TUint16 iOffset

TUint16 iOffset[private]

TEncodingType iType

TEncodingType iType[private]