CImMimeHeader Class Reference

class CImMimeHeader : public CBase

Stores a MIME email header.

Inherits from

Public Member Functions
~CImMimeHeader()
IMPORT_C const TPtrC8ContentBase()
IMPORT_C const TPtrC8ContentDescription()
IMPORT_C const TPtrC8ContentDisposition()
const CDesC8Array &ContentDispositionParams()
CDesC8Array &ContentDispositionParams()
IMPORT_C const TPtrC8ContentID()
IMPORT_C const TPtrC16ContentLocation()
IMPORT_C const TPtrC8ContentSubType()
IMPORT_C TImEncodingTypeContentTransferEncoding()
IMPORT_C TImEncodingTypeContentTransferEncoding(TDes8 &)
IMPORT_C const TPtrC8ContentType()
const CDesC8Array &ContentTypeParams()
CDesC8Array &ContentTypeParams()
IMPORT_C voidExternalizeL(RMsvWriteStream &)
IMPORT_C const TPtrC8GetContentTypeValue(const TDesC8 &)
IMPORT_C voidInternalizeL(RMsvReadStream &)
IMPORT_C TUintMimeCharset()
IMPORT_C CImMimeHeader *NewL()
IMPORT_C CImMimeHeader *NewLC()
IMPORT_C const TPtrC8RelativePath()
IMPORT_C voidReset()
IMPORT_C voidRestoreL(CMsvStore &)
IMPORT_C voidSetContentBaseL(const TDesC8 &)
IMPORT_C voidSetContentDescriptionL(const TDesC8 &)
IMPORT_C voidSetContentDispositionL(const TDesC8 &)
IMPORT_C voidSetContentIDL(const TDesC8 &)
IMPORT_C voidSetContentLocationL(const TDesC16 &)
IMPORT_C voidSetContentSubTypeL(const TDesC8 &)
IMPORT_C voidSetContentTransferEncodingL(const TDesC8 &)
IMPORT_C voidSetContentTypeL(const TDesC8 &)
IMPORT_C voidSetMimeCharset(const TUint)
IMPORT_C voidSetRelativePathL(const TDesC8 &)
voidSetVersion(TUint16)
IMPORT_C TIntSize()
IMPORT_C voidStoreL(CMsvStore &)
IMPORT_C voidStoreWithoutCommitL(CMsvStore &)
const TUint16Version()
const CDesC8Array &XTypeParams()
CDesC8Array &XTypeParams()
Private Member Functions
CImMimeHeader()
TBool ArrayEntryExists(CDesCArray &, TInt)
voidConstructL()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
HBufC8 *iContentBase
HBufC8 *iContentDescription
HBufC8 *iContentDisposition
CDesC8Array *iContentDispositionParams
HBufC8 *iContentID
HBufC16 *iContentLocation
HBufC8 *iContentSubType
TImEncodingType iContentTransferEncoding
TBuf< 20 >iContentTransferEncodingBuffer
HBufC8 *iContentType
CDesC8Array *iContentTypeParams
TUint iMimeCharset
HBufC8 *iRelativePath
TUint16 iVersion
CDesC8Array *iXTypeParams

Constructor & Destructor Documentation

CImMimeHeader()

CImMimeHeader()[private]

~CImMimeHeader()

IMPORT_C~CImMimeHeader()

Member Functions Documentation

ArrayEntryExists(CDesCArray &, TInt)

TBool ArrayEntryExists(CDesCArray &aArray,
TIntaField
)[private]

Parameters

CDesCArray & aArray
TInt aField

ConstructL()

voidConstructL()[private]

ContentBase()

IMPORT_C const TPtrC8ContentBase()const

ContentDescription()

IMPORT_C const TPtrC8ContentDescription()const

ContentDisposition()

IMPORT_C const TPtrC8ContentDisposition()const

ContentDispositionParams()

const CDesC8Array &ContentDispositionParams()const [inline]

Gets the const Content-Disposition parameters and their associated values. Parameters and associated values

ContentDispositionParams()

CDesC8Array &ContentDispositionParams()[inline]

Gets the Content-Disposition parameters and their associated values. Parameters and associated values

ContentID()

IMPORT_C const TPtrC8ContentID()const

ContentLocation()

IMPORT_C const TPtrC16ContentLocation()const

ContentSubType()

IMPORT_C const TPtrC8ContentSubType()const

ContentTransferEncoding()

IMPORT_C TImEncodingTypeContentTransferEncoding()const

ContentTransferEncoding(TDes8 &)

IMPORT_C TImEncodingTypeContentTransferEncoding(TDes8 &rType)const

Parameters

TDes8 & rType

ContentType()

IMPORT_C const TPtrC8ContentType()const

ContentTypeParams()

const CDesC8Array &ContentTypeParams()const [inline]

Gets the const Content-Type parameters and their associated values. Parameters and associated values

ContentTypeParams()

CDesC8Array &ContentTypeParams()[inline]

Gets the Content-Type parameters and their associated values. Parameters and associated values

ExternalizeL(RMsvWriteStream &)

IMPORT_C voidExternalizeL(RMsvWriteStream &aWriteStream)const

Parameters

RMsvWriteStream & aWriteStream

GetContentTypeValue(const TDesC8 &)

IMPORT_C const TPtrC8GetContentTypeValue(const TDesC8 &aContentTypeParameter)const

Parameters

const TDesC8 & aContentTypeParameter

InternalizeL(RMsvReadStream &)

IMPORT_C voidInternalizeL(RMsvReadStream &aReadStream)

Parameters

RMsvReadStream & aReadStream

MimeCharset()

IMPORT_C TUintMimeCharset()const

NewL()

IMPORT_C CImMimeHeader *NewL()[static]

NewLC()

IMPORT_C CImMimeHeader *NewLC()[static]

RelativePath()

IMPORT_C const TPtrC8RelativePath()const

Reset()

IMPORT_C voidReset()

RestoreL(CMsvStore &)

IMPORT_C voidRestoreL(CMsvStore &aMessageStore)

Parameters

CMsvStore & aMessageStore

SetContentBaseL(const TDesC8 &)

IMPORT_C voidSetContentBaseL(const TDesC8 &aPath)

Sets the Content-Base field value.

Parameters

const TDesC8 & aPathField value

SetContentDescriptionL(const TDesC8 &)

IMPORT_C voidSetContentDescriptionL(const TDesC8 &aPath)

Sets the Content-Description field value.

The value is MIME defined and should always be 8-bit.

Parameters

const TDesC8 & aPathField value

SetContentDispositionL(const TDesC8 &)

IMPORT_C voidSetContentDispositionL(const TDesC8 &aPath)

Sets the Content-Disposition field value (either inline or attachment).

The value is MIME defined and should always be 8-bit.

Parameters

const TDesC8 & aPathField value

SetContentIDL(const TDesC8 &)

IMPORT_C voidSetContentIDL(const TDesC8 &aPath)

Sets the Content-ID field value.

Parameters

const TDesC8 & aPathField value

SetContentLocationL(const TDesC16 &)

IMPORT_C voidSetContentLocationL(const TDesC16 &aPath)

Sets the Content-Location field value.

Parameters

const TDesC16 & aPathField value

SetContentSubTypeL(const TDesC8 &)

IMPORT_C voidSetContentSubTypeL(const TDesC8 &aPath)

Sets the Content-Type subtype field value (e.g. "plain" in Content-Type:text/plain).

The value is MIME defined and should always be 8-bit.

Parameters

const TDesC8 & aPathField value

SetContentTransferEncodingL(const TDesC8 &)

IMPORT_C voidSetContentTransferEncodingL(const TDesC8 &aType)

Sets the Content-Transfer-Encoding field value.

Parameters

const TDesC8 & aTypeField value

SetContentTypeL(const TDesC8 &)

IMPORT_C voidSetContentTypeL(const TDesC8 &aPath)

Sets the Content-Type field value (e.g. "text" in Content-Type:text/plain).

The value is MIME defined and should always be 8-bit.

Parameters

const TDesC8 & aPathField value

SetMimeCharset(const TUint)

IMPORT_C voidSetMimeCharset(const TUintaCharset)

Parameters

const TUint aCharset

SetRelativePathL(const TDesC8 &)

IMPORT_C voidSetRelativePathL(const TDesC8 &aPath)

Sets IMAP-specific information for the relative location of the entry to the parent email message.

Parameters

const TDesC8 & aPathRelative location

SetVersion(TUint16)

voidSetVersion(TUint16aVersion)[inline]

Parameters

TUint16 aVersion

Size()

IMPORT_C TIntSize()

StoreL(CMsvStore &)

IMPORT_C voidStoreL(CMsvStore &aMessageStore)const

Parameters

CMsvStore & aMessageStore

StoreWithoutCommitL(CMsvStore &)

IMPORT_C voidStoreWithoutCommitL(CMsvStore &aMessageStore)const

Parameters

CMsvStore & aMessageStore

Version()

const TUint16Version()const [inline]

XTypeParams()

const CDesC8Array &XTypeParams()const [inline]

Gets the const MIME header parameters and their associated values. This can be used by any MIME header fields. Parameters and associated values

XTypeParams()

CDesC8Array &XTypeParams()[inline]

Gets the MIME header parameters and their associated values. This can be used by any MIME header fields. Parameters and associated values

Member Data Documentation

HBufC8 * iContentBase

HBufC8 *iContentBase[private]

HBufC8 * iContentDescription

HBufC8 *iContentDescription[private]

HBufC8 * iContentDisposition

HBufC8 *iContentDisposition[private]

CDesC8Array * iContentDispositionParams

CDesC8Array *iContentDispositionParams[private]

HBufC8 * iContentID

HBufC8 *iContentID[private]

HBufC16 * iContentLocation

HBufC16 *iContentLocation[private]

HBufC8 * iContentSubType

HBufC8 *iContentSubType[private]

TImEncodingType iContentTransferEncoding

TImEncodingType iContentTransferEncoding[private]

TBuf< 20 > iContentTransferEncodingBuffer

TBuf< 20 >iContentTransferEncodingBuffer[private]

HBufC8 * iContentType

HBufC8 *iContentType[private]

CDesC8Array * iContentTypeParams

CDesC8Array *iContentTypeParams[private]

TUint iMimeCharset

TUint iMimeCharset[private]

HBufC8 * iRelativePath

HBufC8 *iRelativePath[private]

TUint16 iVersion

TUint16 iVersion[private]

CDesC8Array * iXTypeParams

CDesC8Array *iXTypeParams[private]