CImEncodedHeader Class Reference

class CImEncodedHeader : public CBase

Encapsulates an undecoded Internet Mail header. This class encapsulates the 8 bit data of supported fields for the CImHeader prior to decoding. It allows this information to populate an associated CImHeader class for redecoding.

Inherits from

Constructor & Destructor Documentation

CImEncodedHeader()

CImEncodedHeader()[private]

~CImEncodedHeader()

~CImEncodedHeader()

Member Functions Documentation

BccRecipients()

CDesCArray &BccRecipients()

Gets a list of "Bcc" recipients.

BccRecipients()

const CDesCArray &BccRecipients()const

Gets a const list of "Bcc" recipients.

CcRecipients()

CDesCArray &CcRecipients()

Gets a list of "Cc" recipients.

CcRecipients()

const CDesCArray &CcRecipients()const

Gets a const list of "Cc" recipients.

ConstructL()

voidConstructL()[private]

CopyFromHeaderL(const CImHeader &, TBool)

voidCopyFromHeaderL(const CImHeader &aFromHeader,
TBoolaDeleteExistingData = false
)

Parameters

const CImHeader & aFromHeader
TBool aDeleteExistingData = false

CopyToHeaderL(CImHeader &)

voidCopyToHeaderL(CImHeader &aToHeader)const

Parameters

CImHeader & aToHeader

DataSize()

TInt DataSize()const

Gets the combined length of all the field values stored.

DecodeCharset()

TUint DecodeCharset()const

ExternalizeL(RMsvWriteStream &)

voidExternalizeL(RMsvWriteStream &aWriteStream)const

Externalises the settings to a specified stream.

Parameters

RMsvWriteStream & aWriteStreamStream to write to

From()

const TPtrC8From()const

Gets the "From" header field.

This consists of an address and (possibly) an alias.

InternalizeL(RMsvReadStream &)

voidInternalizeL(RMsvReadStream &aReadStream)

Internalises the settings from a specified stream.

Parameters

RMsvReadStream & aReadStreamStream to read from

NewL()

CImEncodedHeader *NewL()[static]

Allocates and creates a new CImHeader object, leaving the object on the cleanup stack.

NewLC()

CImEncodedHeader *NewLC()[static]

Allocates and creates a new CImHeader object, leaving the object on the cleanup stack.

ReplyTo()

const TPtrC8ReplyTo()const

Gets the "ReplyTo" header field.

Reset()

voidReset()

RestoreL(CMsvStore &)

voidRestoreL(CMsvStore &aMessageStore)

Restores settings from a specified message store.

Parameters

CMsvStore & aMessageStoreMessage store to read from

SetDecodeCharset(TUint)

voidSetDecodeCharset(TUintaCharset)

Parameters

TUint aCharset

SetFromL(const TDesC8 &)

voidSetFromL(const TDesC8 &aFrom)

Sets the "From" header field.

Parameters

const TDesC8 & aFromField value

SetReplyToL(const TDesC8 &)

voidSetReplyToL(const TDesC8 &aReplyTo)

Sets the "ReplyTo" header field.

Parameters

const TDesC8 & aReplyToField value

SetSubjectL(const TDesC8 &)

voidSetSubjectL(const TDesC8 &aSubject)

Sets the "Subject" header field.

Parameters

const TDesC8 & aSubjectField value

SetVersion(TUint16)

voidSetVersion(TUint16aVersion)

Parameters

TUint16 aVersion

StoreL(CMsvStore &)

voidStoreL(CMsvStore &aMessageStore)const

Stores settings to a specified message store.

Parameters

CMsvStore & aMessageStoreMessage store to write to

Subject()

const TPtrC8Subject()const

Gets the "Subject" header field.

ToRecipients()

CDesCArray &ToRecipients()

ToRecipients()

const CDesCArray &ToRecipients()const

Gets a const list of "To" recipients.

Version()

TUint16 Version()const

Member Data Documentation

CDesCArray * iBcc

CDesCArray *iBcc[private]

CDesCArray * iCc

CDesCArray *iCc[private]

TUint iDecodeCharset

TUint iDecodeCharset[private]

HBufC8 * iFrom

HBufC8 *iFrom[private]

HBufC8 * iReplyTo

HBufC8 *iReplyTo[private]

HBufC8 * iSubject

HBufC8 *iSubject[private]

CDesCArray * iTo

CDesCArray *iTo[private]

TUint16 iVersion

TUint16 iVersion[private]