UCommon
|
A container class for multi-part MIME document objects which can be streamed to a std::ostream destination. More...
#include <mime.h>
Public Member Functions | |
virtual void | body (std::ostream *output) |
Stream the "body" of the multi-part document. | |
char ** | getHeaders (void) |
Get a string array of the headers to use. | |
virtual void | head (std::ostream *output) |
Stream the headers of the multi-part document. | |
MIMEMultipart (const char *document) | |
Contruct a multi-part document, and describe it's type. | |
Protected Attributes | |
char | boundry [8] |
MIMEItemPart * | first |
char * | header [16] |
MIMEItemPart * | last |
char | mtype [80] |
Friends | |
class | MIMEItemPart |
A container class for multi-part MIME document objects which can be streamed to a std::ostream destination.
ost::MIMEMultipart::MIMEMultipart | ( | const char * | document | ) |
Contruct a multi-part document, and describe it's type.
document | (content) type. |
virtual void ost::MIMEMultipart::body | ( | std::ostream * | output | ) | [virtual] |
Stream the "body" of the multi-part document.
This involves streaming the headers and body of each document part.
output | to stream document body into. |
char** ost::MIMEMultipart::getHeaders | ( | void | ) | [inline] |
virtual void ost::MIMEMultipart::head | ( | std::ostream * | output | ) | [virtual] |
Stream the headers of the multi-part document.
The headers of individual entities are streamed as part of the body.
output | to stream document header into. |