ucommon
|
This is used to attach an item part to a MIME multipart document that is being streamed. More...
#include <mime.h>
Protected Member Functions | |
virtual void | body (std::ostream *output)=0 |
Stream the content of this document part. | |
virtual void | head (std::ostream *output) |
Stream the header(s) for the current document part. | |
MIMEItemPart (MIMEMultipart *top, const char *ct) | |
Construct and attach a document part to a multipart document. | |
Protected Attributes | |
MIMEMultipart * | base |
const char * | ctype |
MIMEItemPart * | next |
Friends | |
class | MIMEMultipart |
This is used to attach an item part to a MIME multipart document that is being streamed.
The base item part class is used by all derived items.
ost::MIMEItemPart::MIMEItemPart | ( | MIMEMultipart * | top, |
const char * | ct | ||
) | [protected] |
Construct and attach a document part to a multipart document.
top | multipart document to attach to. |
ct | Content-Type to use. |
virtual void ost::MIMEItemPart::body | ( | std::ostream * | output | ) | [protected, pure virtual] |
Stream the content of this document part.
output | to stream document body into. |
Implemented in ost::MIMEFormData.
virtual void ost::MIMEItemPart::head | ( | std::ostream * | output | ) | [protected, virtual] |
Stream the header(s) for the current document part.
output | to stream header into. |
Reimplemented in ost::MIMEFormData.