Main Page Class Hierarchy Alphabetical List Compound List Examples |
Base class for text/* MIME entities. More...
#include <message.h>
Public Member Functions | |
TextEntity () | |
TextEntity (const std::string &text) | |
TextEntity (const std::string &text, const std::string &charset) | |
![]() | |
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 | |
![]() | |
void | commonInit () |
virtual std::ostream & | write (std::ostream &, const char *eol=0) const |
![]() | |
Header | m_header |
Body | m_body |
size_type | m_lines |
size_type | m_size |
Base class for text/* MIME entities.
TextEntity | ( | ) |
Sets its content-type to "text/unknown"
TextEntity | ( | const std::string & | text, |
const std::string & | charset | ||
) |
Sets its content-type to "text/unknown", sets its body with the "text" variable and adds "charset=us-ascii" content-type parameter