CImMimeHeader Class Reference
|
class CImMimeHeader : public CBase
|
Stores a MIME email header.
Constructor & Destructor Documentation
CImMimeHeader()
|
CImMimeHeader
|
(
|
)
|
[private]
|
~CImMimeHeader()
|
IMPORT_C
|
~CImMimeHeader
|
(
|
)
|
|
Member Functions Documentation
ArrayEntryExists(CDesCArray &, TInt)
ConstructL()
|
void
|
ConstructL
|
(
|
)
|
[private]
|
ContentBase()
|
IMPORT_C const
TPtrC8
|
ContentBase
|
(
|
)
|
const
|
ContentDescription()
|
IMPORT_C const
TPtrC8
|
ContentDescription
|
(
|
)
|
const
|
ContentDisposition()
|
IMPORT_C const
TPtrC8
|
ContentDisposition
|
(
|
)
|
const
|
ContentDispositionParams()
|
const
CDesC8Array
&
|
ContentDispositionParams
|
(
|
)
|
const [inline]
|
Gets the const Content-Disposition parameters and their associated values.
ContentDispositionParams()
Gets the Content-Disposition parameters and their associated values.
ContentID()
|
IMPORT_C const
TPtrC8
|
ContentID
|
(
|
)
|
const
|
ContentLocation()
|
IMPORT_C const
TPtrC16
|
ContentLocation
|
(
|
)
|
const
|
ContentSubType()
|
IMPORT_C const
TPtrC8
|
ContentSubType
|
(
|
)
|
const
|
ContentTransferEncoding()
|
IMPORT_C
TImEncodingType
|
ContentTransferEncoding
|
(
|
)
|
const
|
ContentTransferEncoding(TDes8 &)
|
IMPORT_C
TImEncodingType
|
ContentTransferEncoding
|
(
|
TDes8
&
|
rType
|
)
|
const
|
ContentType()
|
IMPORT_C const
TPtrC8
|
ContentType
|
(
|
)
|
const
|
ContentTypeParams()
|
const
CDesC8Array
&
|
ContentTypeParams
|
(
|
)
|
const [inline]
|
Gets the const Content-Type parameters and their associated values.
ContentTypeParams()
Gets the Content-Type parameters and their associated values.
ExternalizeL(RMsvWriteStream &)
GetContentTypeValue(const TDesC8 &)
|
IMPORT_C const
TPtrC8
|
GetContentTypeValue
|
(
|
const
TDesC8
&
|
aContentTypeParameter
|
)
|
const
|
Parameters
|
const
TDesC8
& aContentTypeParameter
|
|
InternalizeL(RMsvReadStream &)
MimeCharset()
|
IMPORT_C
TUint
|
MimeCharset
|
(
|
)
|
const
|
RelativePath()
|
IMPORT_C const
TPtrC8
|
RelativePath
|
(
|
)
|
const
|
RestoreL(CMsvStore &)
|
IMPORT_C void
|
RestoreL
|
(
|
CMsvStore
&
|
aMessageStore
|
)
|
|
SetContentBaseL(const TDesC8 &)
|
IMPORT_C void
|
SetContentBaseL
|
(
|
const
TDesC8
&
|
aPath
|
)
|
|
Sets the Content-Base field value.
Parameters
|
const
TDesC8
& aPath
|
Field value
|
SetContentDescriptionL(const TDesC8 &)
|
IMPORT_C void
|
SetContentDescriptionL
|
(
|
const
TDesC8
&
|
aPath
|
)
|
|
Sets the Content-Description field value.
The value is MIME defined and should always be 8-bit.
Parameters
|
const
TDesC8
& aPath
|
Field value
|
SetContentDispositionL(const TDesC8 &)
|
IMPORT_C void
|
SetContentDispositionL
|
(
|
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
& aPath
|
Field value
|
SetContentIDL(const TDesC8 &)
|
IMPORT_C void
|
SetContentIDL
|
(
|
const
TDesC8
&
|
aPath
|
)
|
|
Sets the Content-ID field value.
Parameters
|
const
TDesC8
& aPath
|
Field value
|
SetContentLocationL(const TDesC16 &)
|
IMPORT_C void
|
SetContentLocationL
|
(
|
const
TDesC16
&
|
aPath
|
)
|
|
Sets the Content-Location field value.
SetContentSubTypeL(const TDesC8 &)
|
IMPORT_C void
|
SetContentSubTypeL
|
(
|
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
& aPath
|
Field value
|
SetContentTransferEncodingL(const TDesC8 &)
|
IMPORT_C void
|
SetContentTransferEncodingL
|
(
|
const
TDesC8
&
|
aType
|
)
|
|
Sets the Content-Transfer-Encoding field value.
Parameters
|
const
TDesC8
& aType
|
Field value
|
SetContentTypeL(const TDesC8 &)
|
IMPORT_C void
|
SetContentTypeL
|
(
|
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
& aPath
|
Field value
|
SetMimeCharset(const TUint)
|
IMPORT_C void
|
SetMimeCharset
|
(
|
const
TUint
|
aCharset
|
)
|
|
SetRelativePathL(const TDesC8 &)
|
IMPORT_C void
|
SetRelativePathL
|
(
|
const
TDesC8
&
|
aPath
|
)
|
|
Sets IMAP-specific information for the relative location of the entry to the parent email message.
Parameters
|
const
TDesC8
& aPath
|
Relative location
|
SetVersion(TUint16)
|
void
|
SetVersion
|
(
|
TUint16
|
aVersion
|
)
|
[inline]
|
StoreL(CMsvStore &)
|
IMPORT_C void
|
StoreL
|
(
|
CMsvStore
&
|
aMessageStore
|
)
|
const
|
StoreWithoutCommitL(CMsvStore &)
|
IMPORT_C void
|
StoreWithoutCommitL
|
(
|
CMsvStore
&
|
aMessageStore
|
)
|
const
|
Version()
|
const
TUint16
|
Version
|
(
|
)
|
const [inline]
|
XTypeParams()
Gets the const MIME header parameters and their associated values. This can be used by any MIME header fields.
XTypeParams()
Gets the MIME header parameters and their associated values. This can be used by any MIME header fields.
Member Data Documentation
HBufC8 * iContentBase
|
HBufC8
*
|
iContentBase
|
[private]
|
HBufC8 * iContentDescription
|
HBufC8
*
|
iContentDescription
|
[private]
|
HBufC8 * iContentDisposition
|
HBufC8
*
|
iContentDisposition
|
[private]
|
CDesC8Array * iContentDispositionParams
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
TUint
iMimeCharset
|
TUint
|
iMimeCharset
|
[private]
|
HBufC8 * iRelativePath
|
HBufC8
*
|
iRelativePath
|
[private]
|
CDesC8Array * iXTypeParams
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.