ews-cpp  0.9
Public Member Functions | List of all members
ews::body Class Referencefinal

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
 

Detailed Description

Represents the actual content of a message.

A <Body/> element can be of type Best, HTML, or plain-text.


The documentation for this class was generated from the following file: