Main Page   Class Hierarchy   Alphabetical List   Compound List   Examples  
Public Member Functions | List of all members
TextEntity Struct Reference

Base class for text/* MIME entities. More...

#include <message.h>

Inheritance diagram for TextEntity:
MimeEntity TextEnriched TextPlain

Public Member Functions

 TextEntity ()
 TextEntity (const std::string &text)
 TextEntity (const std::string &text, const std::string &charset)
- Public Member Functions inherited from MimeEntity
 MimeEntity ()
template<typename Iterator >
 MimeEntity (Iterator beg, Iterator end, int mask=imNone)
 MimeEntity (std::istream &)
template<typename OutputIt >
size_type copy (OutputIt out)
Headerheader ()
const Headerheader () const
Bodybody ()
const Bodybody () 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

- Protected Member Functions inherited from MimeEntity
void commonInit ()
virtual std::ostream & write (std::ostream &, const char *eol=0) const
- Protected Attributes inherited from MimeEntity
Header m_header
Body m_body
size_type m_lines
size_type m_size

Detailed Description

Base class for text/* MIME entities.

Constructor & Destructor Documentation

Sets its content-type to "text/unknown"

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

Sets its content-type to "text/unknown", sets its body with the "text" variable and adds "charset=us-ascii" content-type parameter


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