Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: MIUTHDR.H
Link against: imcm.lib

Class TImHeaderEncodingInfo

class TImHeaderEncodingInfo;

Description

Stores encoding data found in message headers.

Members

Defined in TImHeaderEncodingInfo:
AddSpace(), ArrayValue(), CharsetUid(), EBase64, EBcc, ECc, EFrom, ENoEncoding, EQP, EReplyTo, ESubject, ETo, EUU, EncodedLength(), EncodingType(), ExternalizeL(), Field(), InternalizeL(), Length(), Offset(), SetAddSpace(), SetArrayValue(), SetCharsetUid(), SetEncodedLength(), SetEncodingType(), SetEncodingType(), SetField(), SetLength(), SetOffset(), TEncodingType, TFieldList, TImHeaderEncodingInfo(), TImHeaderEncodingInfo()


Construction and destruction


TImHeaderEncodingInfo()

IMPORT_C TImHeaderEncodingInfo();

Description

Default constructor.


TImHeaderEncodingInfo()

IMPORT_C TImHeaderEncodingInfo(const TImHeaderEncodingInfo &aFrom);

Description

Copy constructor.

Parameters

const TImHeaderEncodingInfo &aFrom

Object to copy

[Top]


Member functions


ExternalizeL()

IMPORT_C void ExternalizeL(RWriteStream &aWriteStream) const;

Description

Externalises the object to the specified stream.

Parameters

RWriteStream &aWriteStream

Stream to write to


InternalizeL()

IMPORT_C void InternalizeL(RReadStream &aReadStream);

Description

Internalises the object from the specified stream.

Parameters

RReadStream &aReadStream

Stream to read from


SetField()

inline void SetField(const TFieldList aField);

Description

Sets the field type.

Parameters

const TFieldList aField

Field type


Field()

inline TFieldList Field() const;

Description

Gets the field type.

Return value

TFieldList

Field type


SetOffset()

inline void SetOffset(const TInt aOffset);

Description

Sets the field offset.

Parameters

const TInt aOffset

Field offset


Offset()

inline TInt Offset() const;

Description

Gets the field offset.

Return value

TInt

Field offset


SetLength()

inline void SetLength(const TInt aLength);

Description

Sets the field length.

Parameters

const TInt aLength

Field length


Length()

inline TInt Length() const;

Description

Gets the field length.

Return value

TInt

Field length


SetCharsetUid()

inline void SetCharsetUid(const TUint aUid);

Description

Sets the character set UID.

Parameters

const TUint aUid

Character set UID


CharsetUid()

inline TUint CharsetUid() const;

Description

Gets the character set UID.

Return value

TUint

Character set UID


SetEncodingType()

inline void SetEncodingType(const TDesC8 &aChar);

Description

Sets the encoding type (string).

Parameters

const TDesC8 &aChar

Encoding type


SetEncodingType()

inline void SetEncodingType(const TEncodingType aType);

Description

Sets the encoding type (enumeration).

Parameters

const TEncodingType aType

Encoding type


EncodingType()

inline TEncodingType EncodingType() const;

Description

Gets the encoding type (enumeration).

Return value

TEncodingType

Encoding type


SetArrayValue()

inline void SetArrayValue(const TInt aValue);

Description

Sets the array value.

Parameters

const TInt aValue

Array value


ArrayValue()

inline TInt ArrayValue() const;

Description

Gets the array value.

Return value

TInt

Array value


SetAddSpace()

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()

inline TBool AddSpace() const;

Description

Tests if the add space character flag is set.

Return value

TBool

True for added space characters


SetEncodedLength()

inline void SetEncodedLength(const TInt aLength);

Description

Sets the encoded length.

Parameters

const TInt aLength

Encoded length


EncodedLength()

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.