Represent a MIME entity
More...
#include <mimeentity.h>
|
| MimeEntity () |
|
template<typename Iterator > |
| MimeEntity (Iterator beg, Iterator end, int mask=imNone) |
|
| MimeEntity (std::istream &) |
|
template<typename OutputIt > |
size_type | copy (OutputIt out) |
|
Header & | header () |
|
const Header & | header () const |
|
Body & | body () |
|
const Body & | body () 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 |
|
|
void | commonInit () |
|
virtual std::ostream & | write (std::ostream &, const char *eol=0) const |
|
|
Header | m_header |
|
Body | m_body |
|
size_type | m_lines |
|
size_type | m_size |
|
|
class | Body |
|
class | MimeEntityLoader |
|
std::ostream & | operator<< (std::ostream &, const MimeEntity &) |
|
◆ MimeEntity() [1/3]
◆ MimeEntity() [2/3]
MimeEntity |
( |
Iterator |
beg, |
|
|
Iterator |
end, |
|
|
int |
mask = imNone |
|
) |
| |
Parse [beg, end] and build entity based on content
◆ MimeEntity() [3/3]
Parse istream and build entity based on content
◆ copy()
MimeEntity::size_type copy |
( |
OutputIt |
out | ) |
|
copy text rapresentation of the MimeEntity to the output iterator
◆ hasField()
bool hasField |
( |
const std::string & |
| ) |
const |
helper functions: return header().hasField(str)
◆ load()
void load |
( |
Iterator |
bit, |
|
|
Iterator |
eit, |
|
|
int |
mask = imNone |
|
) |
| |
single step load functions: parse the input provided and build the entity
use load(..., mask) to ignore some part of the message when it's not needed saving memory space and execution time
◆ size()
returns entity size Note: this function is slow, use it if you really need
The documentation for this class was generated from the following file: