VMime
|
Public Member Functions | |
plainTextPart () | |
~plainTextPart () | |
const mediaType | getType () const |
const charset & | getCharset () const |
void | setCharset (const charset &ch) |
const shared_ptr< const contentHandler > | getText () const |
void | setText (shared_ptr< contentHandler > text) |
size_t | getPartCount () const |
void | generateIn (shared_ptr< bodyPart > message, shared_ptr< bodyPart > parent) const |
void | parse (shared_ptr< const bodyPart > message, shared_ptr< const bodyPart > parent, shared_ptr< const bodyPart > textPart) |
Public Member Functions inherited from textPart | |
virtual | ~textPart () |
Additional Inherited Members | |
Protected Member Functions inherited from object | |
object () | |
object (const object &) | |
object & | operator= (const object &) |
virtual | ~object () |
Text part of type 'text/plain'.
plainTextPart | ( | ) |
~plainTextPart | ( | ) |
Generate the text part(s) into the specified message.
message | the message |
parent | body part into which generate this part |
Implements textPart.
References encoding::decide(), vmime::mediaTypes::TEXT, vmime::mediaTypes::TEXT_PLAIN, and encoding::USAGE_TEXT.
|
virtual |
|
virtual |
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".
Implements textPart.
|
virtual |
|
virtual |
Return the type of text part (eg: "text/html").
Implements textPart.
References vmime::mediaTypes::TEXT, and vmime::mediaTypes::TEXT_PLAIN.
|
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 |
Implements textPart.
References vmime::clone(), and vmime::fields::CONTENT_TYPE.
|
virtual |
Set the charset used to encode text in the text part.
ch | text charset |
Implements textPart.
|
virtual |
Set the text contained in the part.
text | text of the part |
Implements textPart.
References vmime::clone().