Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <MIUTHDR.H>
Link against: imcm.lib

Class TImHeaderEncodingInfo

class TImHeaderEncodingInfo;

Description

Stores encoding data found in message headers.

Members

Defined in TImHeaderEncodingInfo:


Construction and destruction


TImHeaderEncodingInfo()

IMPORT_C TImHeaderEncodingInfo();

Description

Default constructor.


TImHeaderEncodingInfo(const TImHeaderEncodingInfo &)

IMPORT_C TImHeaderEncodingInfo(const TImHeaderEncodingInfo &aFrom);

Description

Copy constructor.

Parameters

const TImHeaderEncodingInfo &aFrom

Object to copy

[Top]


Member functions


ExternalizeL(RWriteStream &)const

IMPORT_C void ExternalizeL(RWriteStream &aWriteStream) const;

Description

Externalises the object to the specified stream.

Parameters

RWriteStream &aWriteStream

Stream to write to


InternalizeL(RReadStream &)

IMPORT_C void InternalizeL(RReadStream &aReadStream);

Description

Internalises the object from the specified stream.

Parameters

RReadStream &aReadStream

Stream to read from


SetField(const TFieldList)

inline void SetField(const TFieldList aField);

Description

Sets the field type.

Parameters

const TImHeaderEncodingInfo::TFieldList aField

Field type


Field()const

inline TFieldList Field() const;

Description

Gets the field type.

Return value

TImHeaderEncodingInfo::TFieldList

Field type


SetOffset(const TInt)

inline void SetOffset(const TInt aOffset);

Description

Sets the field offset.

Parameters

const TInt aOffset

Field offset


Offset()const

inline TInt Offset() const;

Description

Gets the field offset.

Return value

TInt

Field offset


SetLength(const TInt)

inline void SetLength(const TInt aLength);

Description

Sets the field length.

Parameters

const TInt aLength

Field length


Length()const

inline TInt Length() const;

Description

Gets the field length.

Return value

TInt

Field length


SetCharsetUid(const TUint)

inline void SetCharsetUid(const TUint aUid);

Description

Sets the character set UID.

Parameters

const TUint aUid

Character set UID


CharsetUid()const

inline TUint CharsetUid() const;

Description

Gets the character set UID.

Return value

TUint

Character set UID


SetEncodingType(const TDesC8 &)

inline void SetEncodingType(const TDesC8 &aChar);

Description

Sets the encoding type (string).

Parameters

const TDesC8 &aChar

Encoding type


SetEncodingType(const TEncodingType)

inline void SetEncodingType(const TEncodingType aType);

Description

Sets the encoding type (enumeration).

Parameters

const TImHeaderEncodingInfo::TEncodingType aType

Encoding type


EncodingType()const

inline TEncodingType EncodingType() const;

Description

Gets the encoding type (enumeration).

Return value

TImHeaderEncodingInfo::TEncodingType

Encoding type


SetArrayValue(const TInt)

inline void SetArrayValue(const TInt aValue);

Description

Sets the array value.

Parameters

const TInt aValue

Array value


ArrayValue()const

inline TInt ArrayValue() const;

Description

Gets the array value.

Return value

TInt

Array value


SetAddSpace(const TBool)

inline void SetAddSpace(const TBool atrueFalse);

Description

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

Parameters

const TBool atrueFalse

True to add a space character


AddSpace()const

inline TBool AddSpace() const;

Description

Tests if the add space character flag is set.

Return value

TBool

True for added space characters


SetEncodedLength(const TInt)

inline void SetEncodedLength(const TInt aLength);

Description

Sets the encoded length.

Parameters

const TInt aLength

Encoded length


EncodedLength()const

inline TInt EncodedLength() const;

Description

Gets the encoded length.

Return value

TInt

Encoded length

[Top]


Member enumerations


Enum TFieldList

TFieldList

Description

Message field types.

EFrom

"From" field.

EReplyTo

"Reply To" field.

ETo

"To" field.

ECc

"Cc" field.

EBcc

"Bcc" field.

ESubject

Subject field.


Enum TEncodingType

TEncodingType

Description

Encoding types.

EBase64

Base64.

EQP

QP.

ENoEncoding

No encoding

EUU

UU.