|
VMime
|
#include <textPart.hpp>


Public Member Functions | |
| virtual | ~textPart () |
| virtual const mediaType | getType () const =0 |
| virtual const charset & | getCharset () const =0 |
| virtual void | setCharset (const charset &ch)=0 |
| virtual const shared_ptr< const contentHandler > | getText () const =0 |
| virtual void | setText (shared_ptr< contentHandler > text)=0 |
| virtual size_t | getPartCount () const =0 |
| virtual void | generateIn (shared_ptr< bodyPart > message, shared_ptr< bodyPart > parent) const =0 |
| virtual void | parse (shared_ptr< const bodyPart > message, shared_ptr< const bodyPart > parent, shared_ptr< const bodyPart > textPart)=0 |
Additional Inherited Members | |
Protected Member Functions inherited from object | |
| object () | |
| object (const object &) | |
| object & | operator= (const object &) |
| virtual | ~object () |
Generic text part.
|
pure virtual |
Generate the text part(s) into the specified message.
| message | the message |
| parent | body part into which generate this part |
Implemented in htmlTextPart, and plainTextPart.
Return the charset used to encode text in the text part.
Implemented in htmlTextPart, and plainTextPart.
Return the actual body parts this text part is composed of.
For example, HTML parts are composed of two parts: one "text/html" part, and the plain text part "text/plain".
Implemented in htmlTextPart, and plainTextPart.
|
pure virtual |
Return the text contained in the part.
Implemented in htmlTextPart, and plainTextPart.
Return the type of text part (eg: "text/html").
Implemented in htmlTextPart, and plainTextPart.
|
pure virtual |
Parse the text part(s) from the specified message.
| message | message containing the text part |
| parent | part containing the text part |
| textPart | actual text part |
Implemented in htmlTextPart, and plainTextPart.
Set the charset used to encode text in the text part.
| ch | text charset |
Implemented in htmlTextPart, and plainTextPart.
|
pure virtual |
Set the text contained in the part.
| text | text of the part |
Implemented in htmlTextPart, and plainTextPart.