VMime
|
Public Member Functions | |
message () | |
const string | generate (const size_t maxLineLength=generationContext::getDefaultContext().getMaxLineLength(), const size_t curLinePos=0) const |
Public Member Functions inherited from bodyPart | |
bodyPart () | |
const shared_ptr< const header > | getHeader () const |
shared_ptr< header > | getHeader () |
void | setHeader (shared_ptr< header > header) |
const shared_ptr< const body > | getBody () const |
shared_ptr< body > | getBody () |
void | setBody (shared_ptr< body > body) |
bodyPart * | getParentPart () |
const bodyPart * | getParentPart () const |
shared_ptr< component > | clone () const |
void | copyFrom (const component &other) |
bodyPart & | operator= (const bodyPart &other) |
const std::vector< shared_ptr < component > > | getChildComponents () |
size_t | getGeneratedSize (const generationContext &ctx) |
Public Member Functions inherited from component | |
component () | |
virtual | ~component () |
void | parse (const string &buffer) |
void | parse (const parsingContext &ctx, const string &buffer) |
void | parse (shared_ptr< utility::inputStream > inputStream, const size_t length) |
void | parse (const string &buffer, const size_t position, const size_t end, size_t *newPosition=NULL) |
void | parse (const parsingContext &ctx, const string &buffer, const size_t position, const size_t end, size_t *newPosition=NULL) |
void | parse (shared_ptr< utility::inputStream > inputStream, const size_t position, const size_t end, size_t *newPosition=NULL) |
void | parse (const parsingContext &ctx, shared_ptr< utility::inputStream > inputStream, const size_t position, const size_t end, size_t *newPosition=NULL) |
virtual void | generate (utility::outputStream &outputStream, const size_t curLinePos=0, size_t *newLinePos=NULL) const |
virtual void | generate (const generationContext &ctx, utility::outputStream &outputStream, const size_t curLinePos=0, size_t *newLinePos=NULL) const |
size_t | getParsedOffset () const |
size_t | getParsedLength () const |
Additional Inherited Members | |
Protected Member Functions inherited from bodyPart | |
shared_ptr< bodyPart > | createChildPart () |
void | importChildPart (shared_ptr< bodyPart > part) |
void | parseImpl (const parsingContext &ctx, shared_ptr< utility::parserInputStreamAdapter > parser, const size_t position, const size_t end, size_t *newPosition=NULL) |
void | generateImpl (const generationContext &ctx, utility::outputStream &os, const size_t curLinePos=0, size_t *newLinePos=NULL) const |
Protected Member Functions inherited from component | |
void | setParsedBounds (const size_t start, const size_t end) |
virtual void | parseImpl (const parsingContext &ctx, const string &buffer, const size_t position, const size_t end, size_t *newPosition=NULL) |
Protected Member Functions inherited from object | |
object () | |
object (const object &) | |
object & | operator= (const object &) |
virtual | ~object () |
A MIME message.
message | ( | ) |
|
virtual |
Generate RFC-2822/MIME data for this component.
maxLineLength | maximum line length for output |
curLinePos | length of the current line in the output buffer |
Reimplemented from component.
References component::generate().