Main Page Class Hierarchy Alphabetical List Compound List Examples |
Helper class to embed file attachments. More...
#include <message.h>
Public Member Functions | |
Attachment (const std::string &) | |
Attachment (const std::string &, const ContentType &) | |
template<typename Codec > | |
Attachment (const std::string &, const Codec &c) | |
template<typename Codec > | |
Attachment (const std::string &, const ContentType &, const Codec &c) | |
bool | operator() () const |
bool | isValid () const |
![]() | |
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 |
Helper class to embed file attachments.
Attachment | ( | const std::string & | ) |
defaults to application/octet-stream
Attachment | ( | const std::string & | fqn, |
const Codec & | codec | ||
) |
defaults to application/octet-stream