ews-cpp
0.9
|
Represents the actual content of a message. More...
#include <ews.hpp>
Public Member Functions | |
body () | |
Creates an empty body element; body_type is plain-text. | |
body (std::string content, body_type type=body_type::plain_text) | |
Creates a new body element with given content and type. | |
const std::string & | content () const EWS_NOEXCEPT |
bool | is_truncated () const EWS_NOEXCEPT |
void | set_content (std::string content) |
void | set_truncated (bool truncated) |
void | set_type (body_type type) |
std::string | to_xml () const |
body_type | type () const EWS_NOEXCEPT |
Represents the actual content of a message.
A <Body/> element can be of type Best, HTML, or plain-text.