| Main Page Class Hierarchy Alphabetical List Compound List Examples |
MIME message body. More...
#include <body.h>
Public Member Functions | |
| void | set (const std::string &) |
| bool | load (const std::string &) |
| template<typename Codec> | |
| bool | load (const std::string &, const Codec &) |
| template<typename Codec> | |
| bool | code (const Codec &) |
| void | preamble (const std::string &) |
| const std::string & | preamble () const |
| std::string & | preamble () |
| void | epilogue (const std::string &) |
| const std::string & | epilogue () const |
| std::string & | epilogue () |
| MimeEntityList & | parts () |
| const MimeEntityList & | parts () const |
| MimeEntity * | owner () |
| const MimeEntity * | owner () const |
Protected Member Functions | |
| void | owner (MimeEntity *) |
Protected Attributes | |
| MimeEntity * | m_owner |
| MimeEntityList | m_parts |
| std::string | m_preamble |
| std::string | m_epilogue |
Friends | |
| class | MimeEntity |
MIME message body.
| bool code | ( | const Codec & | cc | ) |
en/decode body content
References codec::codeSizeMultiplier().
| const std::string & epilogue | ( | ) | const |
get body epilogue
| void epilogue | ( | const std::string & | ) |
set body epilogue
| bool load | ( | const std::string & | ) |
load file as is, no encoding is performed
| bool load | ( | const std::string & | fqn, |
| const Codec & | cc ) |
load file and code it using Codec
References codec::codeSizeMultiplier().
| MimeEntity * owner | ( | ) |
get body's MimeEntity owner
| MimeEntityList & parts | ( | ) |
get body's parts list
| const std::string & preamble | ( | ) | const |
get body preamble
| void preamble | ( | const std::string & | ) |
set body preamble
| void set | ( | const std::string & | ) |
set body content