Location:
MIUTHDR.H
Link against: imcm.lib
class CImMimeHeader : public CBase;
Stores a MIME email header.
CBase
- Base class for all classes to be instantiated on the heap
CImMimeHeader
- Stores a MIME email header
Defined in CImMimeHeader
:
ContentBase()
, ContentDescription()
, ContentDisposition()
, ContentDispositionParams()
, ContentDispositionParams()
, ContentID()
, ContentLocation()
, ContentSubType()
, ContentTransferEncoding()
, ContentTransferEncoding()
, ContentType()
, ContentTypeParams()
, ContentTypeParams()
, ExternalizeL()
, GetContentTypeValue()
, InternalizeL()
, MimeCharset()
, NewL()
, NewLC()
, RelativePath()
, Reset()
, RestoreL()
, SetContentBaseL()
, SetContentDescriptionL()
, SetContentDispositionL()
, SetContentIDL()
, SetContentLocationL()
, SetContentSubTypeL()
, SetContentTransferEncodingL()
, SetContentTypeL()
, SetMimeCharset()
, SetRelativePathL()
, SetVersion()
, Size()
, StoreL()
, StoreWithoutCommitL()
, Version()
, XTypeParams()
, XTypeParams()
, ~CImMimeHeader()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
static IMPORT_C CImMimeHeader *NewLC();
Allocates and creates a new CImMimeHeader object, leaving the object on the cleanup stack.
|
static IMPORT_C CImMimeHeader *NewL();
Allocates and creates a new CImMimeHeader object.
|
IMPORT_C TInt Size();
Estimates the size of the MIME header, constructed using the values stored.
|
IMPORT_C void InternalizeL(RMsvReadStream &aReadStream);
Internalises the settings from a specified stream.
|
IMPORT_C void ExternalizeL(RMsvWriteStream &aWriteStream) const;
Externalises the settings to a specified stream.
|
IMPORT_C void RestoreL(CMsvStore &aMessageStore);
Restores settings from a specified message store.
|
IMPORT_C void StoreL(CMsvStore &aMessageStore) const;
Stores settings to a specified message store.
|
IMPORT_C void StoreWithoutCommitL(CMsvStore &aMessageStore) const;
Stores, but does not commit, settings to a specified message store.
|
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.
|
IMPORT_C const TPtrC8 ContentType() const;
Gets the Content-Type field value (e.g. "text" in Content-Type:text/plain).
|
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.
|
IMPORT_C const TPtrC8 ContentSubType() const;
Gets 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.
|
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.
|
IMPORT_C const TPtrC8 ContentDisposition() const;
Gets the Content-Disposition field value (either inline or attachment).
The value is MIME defined and should always be 8-bit.
|
IMPORT_C void SetContentDescriptionL(const TDesC8 &aPath);
Sets the Content-Description field value.
The value is MIME defined and should always be 8-bit.
|
IMPORT_C const TPtrC8 ContentDescription() const;
Gets the Content-Description field value.
The value is MIME defined and should always be 8-bit.
|
IMPORT_C void SetContentBaseL(const TDesC8 &aPath);
Sets the Content-Base field value.
|
IMPORT_C const TPtrC8 ContentBase() const;
Gets the Content-Base field value.
|
IMPORT_C void SetContentIDL(const TDesC8 &aPath);
Sets the Content-ID field value.
|
IMPORT_C const TPtrC8 ContentID() const;
Gets the Content-ID field value.
|
IMPORT_C void SetContentLocationL(const TDesC16 &aPath);
Sets the Content-Location field value.
|
IMPORT_C const TPtrC16 ContentLocation() const;
Gets the Content-Location field value.
|
IMPORT_C void SetRelativePathL(const TDesC8 &aPath);
Sets IMAP-specific information for the relative location of the entry to the parent email message.
|
IMPORT_C const TPtrC8 RelativePath() const;
Gets IMAP-specific information for the relative location of the entry to the parent email message.
|
IMPORT_C void SetContentTransferEncodingL(const TDesC8 &aType);
Sets the Content-Transfer-Encoding field value.
|
IMPORT_C TImEncodingType ContentTransferEncoding() const;
Gets the Content-Transfer-Encoding field value.
|
IMPORT_C TImEncodingType ContentTransferEncoding(TDes8 &rType) const;
Gets the Content-Transfer-Encoding field value as a string.
|
|
IMPORT_C const TPtrC8 GetContentTypeValue(const TDesC8 &aContentTypeParameter) const;
Gets the value for a particular Content-Type parameter.
For example, for "content-type: text/plain; name=umlaut.txt", GetContentType(_L8("name")) returns "umlaut.txt".
|
|
inline const CDesC8Array &ContentTypeParams() const;
Gets the const Content-Type parameters and their associated values.
|
inline const CDesC8Array &ContentDispositionParams() const;
Gets the const Content-Disposition parameters and their associated values.
|
inline const CDesC8Array &XTypeParams() const;
Gets the const MIME header parameters and their associated values. This can be used by any MIME header fields.
|
inline CDesC8Array &ContentTypeParams();
Gets the Content-Type parameters and their associated values.
|
inline CDesC8Array &ContentDispositionParams();
Gets the Content-Disposition parameters and their associated values.
|
inline CDesC8Array &XTypeParams();
Gets the MIME header parameters and their associated values. This can be used by any MIME header fields.
|
IMPORT_C void SetMimeCharset(const TUint aCharset);
Sets the character set used in decoding the email MIME part.
UID values for different MIME charsets are in charconv.h
|
IMPORT_C TUint MimeCharset() const;
Gets the character set used in decoding the email MIME part.
UID values for different MIME charsets are in charconv.h
|