This is used to attach an item part to a MIME multipart document that is being streamed.
More...
#include <mime.h>
List of all members.
Protected Member Functions |
virtual void | head (std::ostream *output) |
| Stream the header(s) for the current document part.
|
virtual void | body (std::ostream *output)=0 |
| Stream the content of this document part.
|
| MIMEItemPart (MIMEMultipart *top, const char *ct) |
| Construct and attach a document part to a multipart document.
|
virtual | ~MIMEItemPart () |
Detailed Description
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.
- Author:
- David Sugar dyfet.nosp@m.@ost.nosp@m.el.co.nosp@m.m item or part of a multi-part object.
Constructor & Destructor Documentation
ost::MIMEItemPart::MIMEItemPart |
( |
MIMEMultipart * |
top, |
|
|
const char * |
ct |
|
) |
| |
|
protected |
Construct and attach a document part to a multipart document.
- Parameters:
-
top | multipart document to attach to. |
ct | Content-Type to use. |
virtual ost::MIMEItemPart::~MIMEItemPart |
( |
| ) |
|
|
protectedvirtual |
Member Function Documentation
virtual void ost::MIMEItemPart::body |
( |
std::ostream * |
output | ) |
|
|
protectedpure virtual |
Stream the content of this document part.
- Parameters:
-
output | to stream document body into. |
Implemented in ost::MIMEFormData.
virtual void ost::MIMEItemPart::head |
( |
std::ostream * |
output | ) |
|
|
protectedvirtual |
Stream the header(s) for the current document part.
- Parameters:
-
output | to stream header into. |
Reimplemented in ost::MIMEFormData.
Friends And Related Function Documentation
Member Data Documentation
const char* ost::MIMEItemPart::ctype |
|
protected |
The documentation for this class was generated from the following file: