TImHeaderEncodingInfo Class Reference

class TImHeaderEncodingInfo

Stores encoding data found in message headers.

Constructor & Destructor Documentation

TImHeaderEncodingInfo()

IMPORT_C TImHeaderEncodingInfo ( )

TImHeaderEncodingInfo(const TImHeaderEncodingInfo &)

IMPORT_C TImHeaderEncodingInfo ( 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 void ExternalizeL ( RWriteStream & aWriteStream ) const

Parameters

RWriteStream & aWriteStream

Field()

TFieldList Field ( ) const [inline]

Gets the field type.

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( 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)

void SetAddSpace ( const TBool atrueFalse ) [inline]

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

Parameters

const TBool atrueFalse True to add a space character

SetArrayValue(const TInt)

void SetArrayValue ( const TInt aValue ) [inline]

Sets the array value.

Parameters

const TInt aValue Array value

SetCharsetUid(const TUint)

void SetCharsetUid ( const TUint aUid ) [inline]

Sets the character set UID.

Parameters

const TUint aUid Character set UID

SetEncodedLength(const TInt)

void SetEncodedLength ( const TInt aLength ) [inline]

Sets the encoded length.

Parameters

const TInt aLength Encoded length

SetEncodingType(const TDesC8 &)

void SetEncodingType ( const TDesC8 & aChar ) [inline]

Sets the encoding type (string).

Parameters

const TDesC8 & aChar Encoding type

SetEncodingType(const TEncodingType)

void SetEncodingType ( const TEncodingType aType ) [inline]

Sets the encoding type (enumeration).

Parameters

const TEncodingType aType Encoding type

SetField(const TFieldList)

void SetField ( const TFieldList aField ) [inline]

Sets the field type.

Parameters

const TFieldList aField Field type

SetLength(const TInt)

void SetLength ( const TInt aLength ) [inline]

Sets the field length.

Parameters

const TInt aLength Field length

SetOffset(const TInt)

void SetOffset ( const TInt aOffset ) [inline]

Sets the field offset.

Parameters

const TInt aOffset Field 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]