WriteMime::CompositeEntity Class Reference

The CompositeEntity class is used to represent MIME entities with a composite media type, which will typically have multiple body parts. More...

#include <writemime.h>

Inheritance diagram for WriteMime::CompositeEntity:

Inheritance graph
[legend]
Collaboration diagram for WriteMime::CompositeEntity:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CompositeEntity (type tp, const char *stp)
virtual int addPart (Entity *part)
 Add a body part.
virtual int size ()
 Compute storage size, including final 0 byte.
virtual const char * format ()
 Return malloc'd, 0-terminated buffer of formatted contents.
virtual int format (char *buf)
 Format into caller buffer, which must be at least size() bytes wide.


Detailed Description

The CompositeEntity class is used to represent MIME entities with a composite media type, which will typically have multiple body parts.

The class only supports media of MULTIPART type. subtypes mixed and alternative should work ok. Related and digest may not.


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

Generated on Fri Feb 6 11:53:43 2009 for WriteMIME by  doxygen 1.5.7.1