Main Page   Class Hierarchy   Alphabetical List   Compound List   Examples  

TextPlain Struct Reference

text/plain entity class More...

#include <message.h>

Inheritance diagram for TextPlain:

TextEntity MimeEntity List of all members.

Public Member Functions

 TextPlain (const std::string &text)
 TextPlain (const std::string &text, const std::string &charset)

Detailed Description

text/plain entity class

TextPlain is a MimeEntity that defaults its ContentType to "text/plain" and its charset to "us-ascii".


Constructor & Destructor Documentation

TextPlain const std::string &  text,
const std::string &  charset
 

constructs a TextPlain object, assigns text to its body and adds a ContentType::Param("charset", charset) to ContentType parameter list


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