CBodyPart Class Reference

class CBodyPart : public CBase

Implementation of the MIME Multipart Body Part MultipartParser

Inherits from

Constructor & Destructor Documentation

CBodyPart()

CBodyPart()[private]

Default constructor

~CBodyPart()

IMPORT_C~CBodyPart()[virtual]

Destructor

Member Functions Documentation

Body()

const TDesC8 &Body()[inline]

Gets the Body

Boundary()

const TDesC8 &Boundary()

Get the Boundary

Charset()

const TDesC8 &Charset()[inline]

Gets the charset

ConstructL()

voidConstructL()[private]

2nd phase constructor

ContentBase()

const TDesC8 &ContentBase()

Gets the Content-Base

ContentID()

const TDesC8 &ContentID()[inline]

Gets the Content ID

ContentLocation()

const TDesC8 &ContentLocation()

Gets the Content-Location

ContentTransferEncoding()

const TDesC8 &ContentTransferEncoding()

Gets the Content-Transfer-Encoding

ContentType()

const TDesC8 &ContentType()[inline]

Gets the Content-Type

Headers()

const TDesC8 &Headers()[inline]

Gets the headers

IsDecodedBody()

TBool IsDecodedBody()

Check if the body is decoded or unzipped

NewL()

IMPORT_C CBodyPart *NewL()[static]

Allocates and constructs a new CBodyPart object

SetBody(const TDesC8 &)

voidSetBody(const TDesC8 &aBody)[inline]

Sets the Body

Parameters

const TDesC8 & aBodyThe body to set

SetBoundary(const TDesC8 &)

voidSetBoundary(const TDesC8 &aBoundary)

Sets the Boundary

Parameters

const TDesC8 & aBoundaryThe boundary to set

SetCharset(const TDesC8 &)

voidSetCharset(const TDesC8 &aCharset)

Sets the charset

Parameters

const TDesC8 & aCharsetThe charset to set

SetContentBase(const TDesC8 &)

voidSetContentBase(const TDesC8 &aContentBase)

Sets the Content-Base

Parameters

const TDesC8 & aContentBaseThe Content-Base to set

SetContentID(const TDesC8 &)

voidSetContentID(const TDesC8 &aContentID)

Sets the Content ID

Parameters

const TDesC8 & aContentIDThe content-ID to set

SetContentLocation(const TDesC8 &)

voidSetContentLocation(const TDesC8 &aContentLocation)

Sets the Content-Location

Parameters

const TDesC8 & aContentLocationThe Content-Location to set

SetContentTransferEncoding(const TDesC8 &)

voidSetContentTransferEncoding(const TDesC8 &aContentTransferEncoding)

Sets the Content-Transfer-Encoding

Parameters

const TDesC8 & aContentTransferEncodingThe Content-Transfer-Encoding to set

SetContentType(const TDesC8 &)

voidSetContentType(const TDesC8 &aContentType)

Set the Content-Type

Parameters

const TDesC8 & aContentTypeThe Content-Type to set

SetHeaders(const TDesC8 &)

voidSetHeaders(const TDesC8 &aHeaders)[inline]

Sets the headers

Parameters

const TDesC8 & aHeadersThe headers to set

SetIsDecodedBody(TBool)

voidSetIsDecodedBody(TBoolaIsDecodedBody)

Sets whether the body part is decoded or unzipped

Parameters

TBool aIsDecodedBodyIf the body of the body part is decoded or unzipped

SetUrl(HBufC16 *)

voidSetUrl(HBufC16 *aUrl)

Sets the URL

Parameters

HBufC16 * aUrlThe URL to set

Url()

const TDesC16 &Url()[inline]

Gets the URL

Member Data Documentation

TPtrC8 iBody

TPtrC8 iBody[private]

TPtrC8 iBoundary

TPtrC8 iBoundary[private]

TPtrC8 iCharset

TPtrC8 iCharset[private]

TPtrC8 iContentBase

TPtrC8 iContentBase[private]

TPtrC8 iContentID

TPtrC8 iContentID[private]

TPtrC8 iContentLocation

TPtrC8 iContentLocation[private]

TPtrC8 iContentTransferEncoding

TPtrC8 iContentTransferEncoding[private]

TPtrC8 iContentType

TPtrC8 iContentType[private]

TPtrC8 iHeaders

TPtrC8 iHeaders[private]

TBool iIsDecodedBody

TBool iIsDecodedBody[private]

HBufC16 * iUrl

HBufC16 *iUrl[private]