| Main Page Class Hierarchy Alphabetical List Compound List Examples |
text/plain entity class More...
#include <message.h>
Public Member Functions | |
| TextPlain (const std::string &text) | |
| TextPlain (const std::string &text, const std::string &charset) | |
Public Member Functions inherited from TextEntity | |
| TextEntity () | |
| TextEntity (const std::string &text) | |
| TextEntity (const std::string &text, const std::string &charset) | |
Public Member Functions inherited from MimeEntity | |
| MimeEntity () | |
| template<typename Iterator > | |
| MimeEntity (Iterator beg, Iterator end, int mask=imNone) | |
| MimeEntity (std::istream &) | |
| template<typename OutputIt > | |
| size_type | copy (OutputIt out) |
| Header & | header () |
| const Header & | header () const |
| Body & | body () |
| const Body & | body () const |
| template<typename Iterator > | |
| void | load (Iterator, Iterator, int mask=imNone) |
| void | load (std::istream &, int mask=imNone) |
| bool | hasField (const std::string &) const |
| size_type | size () const |
Additional Inherited Members | |
Protected Member Functions inherited from MimeEntity | |
| void | commonInit () |
| virtual std::ostream & | write (std::ostream &, const char *eol=0) const |
Protected Attributes inherited from MimeEntity | |
| Header | m_header |
| Body | m_body |
| size_type | m_lines |
| size_type | m_size |
text/plain entity class
TextPlain is a MimeEntity that defaults its ContentType to "text/plain" and its charset to "us-ascii".
| TextPlain | ( | const std::string & | text, |
| const std::string & | charset | ||
| ) |
constructs a TextPlain object, assigns text to its body and adds a ContentType::Param("charset", charset) to ContentType parameter list