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

void ConstructL ( ) [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 &)

void SetBody ( const TDesC8 & aBody ) [inline]

Sets the Body

Parameters

const TDesC8 & aBody The body to set

SetBoundary(const TDesC8 &)

void SetBoundary ( const TDesC8 & aBoundary )

Sets the Boundary

Parameters

const TDesC8 & aBoundary The boundary to set

SetCharset(const TDesC8 &)

void SetCharset ( const TDesC8 & aCharset )

Sets the charset

Parameters

const TDesC8 & aCharset The charset to set

SetContentBase(const TDesC8 &)

void SetContentBase ( const TDesC8 & aContentBase )

Sets the Content-Base

Parameters

const TDesC8 & aContentBase The Content-Base to set

SetContentID(const TDesC8 &)

void SetContentID ( const TDesC8 & aContentID )

Sets the Content ID

Parameters

const TDesC8 & aContentID The content-ID to set

SetContentLocation(const TDesC8 &)

void SetContentLocation ( const TDesC8 & aContentLocation )

Sets the Content-Location

Parameters

const TDesC8 & aContentLocation The Content-Location to set

SetContentTransferEncoding(const TDesC8 &)

void SetContentTransferEncoding ( const TDesC8 & aContentTransferEncoding )

Sets the Content-Transfer-Encoding

Parameters

const TDesC8 & aContentTransferEncoding The Content-Transfer-Encoding to set

SetContentType(const TDesC8 &)

void SetContentType ( const TDesC8 & aContentType )

Set the Content-Type

Parameters

const TDesC8 & aContentType The Content-Type to set

SetHeaders(const TDesC8 &)

void SetHeaders ( const TDesC8 & aHeaders ) [inline]

Sets the headers

Parameters

const TDesC8 & aHeaders The headers to set

SetIsDecodedBody(TBool)

void SetIsDecodedBody ( TBool aIsDecodedBody )

Sets whether the body part is decoded or unzipped

Parameters

TBool aIsDecodedBody If the body of the body part is decoded or unzipped

SetUrl(HBufC16 *)

void SetUrl ( HBufC16 * aUrl )

Sets the URL

Parameters

HBufC16 * aUrl The 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]