TImHeaderEncodingInfo Class Reference

#include <mw/miuthdr.h>

class TImHeaderEncodingInfo

Detailed Description

Stores encoding data found in message headers.

Member Enumeration Documentation

Enum TEncodingType

Encoding types.

EnumeratorValueDescription
EBase64

Base64.

EQP

QP.

ENoEncoding

No encoding

EUU

UU.

Enum TFieldList

Message field types.

EnumeratorValueDescription
EFrom

"From" field.

EReplyTo

"Reply To" field.

ETo

"To" field.

ECc

"Cc" field.

EBcc

"Bcc" field.

ESubject

Subject field.

Constructor & Destructor Documentation

TImHeaderEncodingInfo ( )

IMPORT_CTImHeaderEncodingInfo()

TImHeaderEncodingInfo ( const TImHeaderEncodingInfo & )

IMPORT_CTImHeaderEncodingInfo(const TImHeaderEncodingInfo &aFrom)

Member Function Documentation

AddSpace ( )

TBool AddSpace()const [inline]

Tests if the add space character flag is set.

Return Value
True for added space characters

ArrayValue ( )

TInt ArrayValue()const [inline]

Gets the array value.

Return Value
Array value

CharsetUid ( )

TUint CharsetUid()const [inline]

Gets the character set UID.

Return Value
Character set UID

EncodedLength ( )

TInt EncodedLength()const [inline]

Gets the encoded length.

Return Value
Encoded length

EncodingType ( )

TEncodingType EncodingType()const [inline]

Gets the encoding type (enumeration).

Return Value
Encoding type

ExternalizeL ( RWriteStream & )

IMPORT_C voidExternalizeL(RWriteStream &aWriteStream)const

Field ( )

TFieldList Field()const [inline]

Gets the field type.

Return Value
Field type

InternalizeL ( RReadStream & )

IMPORT_C voidInternalizeL(RReadStream &aReadStream)

Length ( )

TInt Length()const [inline]

Gets the field length.

Return Value
Field length

Offset ( )

TInt Offset()const [inline]

Gets the field offset.

Return Value
Field offset

SetAddSpace ( const TBool )

voidSetAddSpace(const TBoolatrueFalse)[inline]

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

Parameters
atrueFalseTrue to add a space character

SetArrayValue ( const TInt )

voidSetArrayValue(const TIntaValue)[inline]

Sets the array value.

Parameters
aValueArray value

SetCharsetUid ( const TUint )

voidSetCharsetUid(const TUintaUid)[inline]

Sets the character set UID.

Parameters
aUidCharacter set UID

SetEncodedLength ( const TInt )

voidSetEncodedLength(const TIntaLength)[inline]

Sets the encoded length.

Parameters
aLengthEncoded length

SetEncodingType ( const TDesC8 & )

voidSetEncodingType(const TDesC8 &aChar)[inline]

Sets the encoding type (string).

Parameters
aCharEncoding type

SetEncodingType ( const TEncodingType )

voidSetEncodingType(const TEncodingTypeaType)[inline]

Sets the encoding type (enumeration).

Parameters
aTypeEncoding type

SetField ( const TFieldList )

voidSetField(const TFieldListaField)[inline]

Sets the field type.

Parameters
aFieldField type

SetLength ( const TInt )

voidSetLength(const TIntaLength)[inline]

Sets the field length.

Parameters
aLengthField length

SetOffset ( const TInt )

voidSetOffset(const TIntaOffset)[inline]

Sets the field offset.

Parameters
aOffsetField offset