#include <mime.h>
Public Member Functions | |
MIMEMultipart (const char *document) | |
Contruct a multi-part document, and describe it's type. | |
virtual void | head (std::ostream *output) |
Stream the headers of the multi-part document. | |
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. | |
Protected Member Functions | |
virtual | ~MIMEMultipart () |
Protected Attributes | |
char | boundry [8] |
char | mtype [80] |
char * | header [16] |
MIMEItemPart * | first |
MIMEItemPart * | last |
Friends | |
class __EXPORT | MIMEItemPart |
virtual ost::MIMEMultipart::~MIMEMultipart | ( | ) | [protected, virtual] |
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] |
Get a string array of the headers to use.
This is used to assist URLStream::post.
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. |
friend class __EXPORT MIMEItemPart [friend] |
char ost::MIMEMultipart::boundry[8] [protected] |
MIMEItemPart* ost::MIMEMultipart::first [protected] |
char* ost::MIMEMultipart::header[16] [protected] |
MIMEItemPart * ost::MIMEMultipart::last [protected] |
char ost::MIMEMultipart::mtype[80] [protected] |