|
||
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()const
Gets the Content-Base field value.ContentDescription()const
Gets the Content-Description field value.ContentDisposition()const
Gets the Content-Disposition field value (either inline or attachment).ContentDispositionParams()
Gets the Content-Disposition parameters and their associated values. ContentDispositionParams()const
Gets the const Content-Disposition parameters and their associated values. ContentID()const
Gets the Content-ID field value.ContentLocation()const
Gets the Content-Location field value.ContentSubType()const
Gets the Content-Type subtype field value (e.g. "plain" in Content-Typ...ContentTransferEncoding()const
Gets the Content-Transfer-Encoding field value.ContentTransferEncoding(TDes8 &)const
Gets the Content-Transfer-Encoding field value as a string.ContentType()const
Gets the Content-Type field value (e.g. "text" in Content-Type:text/pl...ContentTypeParams()
Gets the Content-Type parameters and their associated values. ContentTypeParams()const
Gets the const Content-Type parameters and their associated values. ExternalizeL(RMsvWriteStream &)const
Externalises the settings to a specified stream.GetContentTypeValue(const TDesC8 &)const
Gets the value for a particular Content-Type parameter.InternalizeL(RMsvReadStream &)
Internalises the settings from a specified stream.MimeCharset()const
Gets the character set used in decoding the email MIME part.NewL()
Allocates and creates a new CImMimeHeader object.NewLC()
Allocates and creates a new CImMimeHeader object, leaving the object on the clea...RelativePath()const
Gets IMAP-specific information for the relative location of the entry to the par...Reset()
Resets all header field values. RestoreL(CMsvStore &)
Restores settings from a specified message store.SetContentBaseL(const TDesC8 &)
Sets the Content-Base field value.SetContentDescriptionL(const TDesC8 &)
Sets the Content-Description field value.SetContentDispositionL(const TDesC8 &)
Sets the Content-Disposition field value (either inline or attachment).SetContentIDL(const TDesC8 &)
Sets the Content-ID field value.SetContentLocationL(const TDesC16 &)
Sets the Content-Location field value.SetContentSubTypeL(const TDesC8 &)
Sets the Content-Type subtype field value (e.g. "plain" in Content-Typ...SetContentTransferEncodingL(const TDesC8 &)
Sets the Content-Transfer-Encoding field value.SetContentTypeL(const TDesC8 &)
Sets the Content-Type field value (e.g. "text" in Content-Type:text/pl...SetMimeCharset(const TUint)
Sets the character set used in decoding the email MIME part.SetRelativePathL(const TDesC8 &)
Sets IMAP-specific information for the relative location of the entry to the par...SetVersion(TUint16)
Size()
Estimates the size of the MIME header, constructed using the values stored.StoreL(CMsvStore &)const
Stores settings to a specified message store.StoreWithoutCommitL(CMsvStore &)const
Stores, but does not commit, settings to a specified message store.Version()const
XTypeParams()
Gets the MIME header parameters and their associated values. This can be used by...XTypeParams()const
Gets the const MIME header parameters and their associated values. This can be u...~CImMimeHeader()
Destructor. Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...IMPORT_C static CImMimeHeader* NewLC();
Allocates and creates a new CImMimeHeader object, leaving the object on the cleanup stack.
|
IMPORT_C static 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
|