VMime
message Class Reference
Inheritance diagram for message:
Collaboration diagram for message:

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 headergetHeader () const
 
shared_ptr< headergetHeader ()
 
void setHeader (shared_ptr< header > header)
 
const shared_ptr< const bodygetBody () const
 
shared_ptr< bodygetBody ()
 
void setBody (shared_ptr< body > body)
 
bodyPartgetParentPart ()
 
const bodyPartgetParentPart () const
 
shared_ptr< componentclone () const
 
void copyFrom (const component &other)
 
bodyPartoperator= (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< bodyPartcreateChildPart ()
 
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 &)
 
objectoperator= (const object &)
 
virtual ~object ()
 

Detailed Description

A MIME message.

Constructor & Destructor Documentation

message ( )

Member Function Documentation

const string generate ( const size_t  maxLineLength = generationContext::getDefaultContext().getMaxLineLength(),
const size_t  curLinePos = 0 
) const
virtual

Generate RFC-2822/MIME data for this component.

Deprecated:
Use the new generate() method, which takes an outputStream parameter.
Parameters
maxLineLengthmaximum line length for output
curLinePoslength of the current line in the output buffer
Returns
generated data

Reimplemented from component.

References component::generate().


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