A container class for multi-part MIME document objects which can be streamed to a std::ostream destination.
More...
#include <mime.h>
|
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.
|
|
A container class for multi-part MIME document objects which can be streamed to a std::ostream destination.
- Author
- David Sugar dyfet.nosp@m.@ost.nosp@m.el.co.nosp@m.m
container for streamable multi-part MIME documents.
Definition at line 67 of file mime.h.
◆ MIMEMultipart()
ost::MIMEMultipart::MIMEMultipart |
( |
const char * | document | ) |
|
Contruct a multi-part document, and describe it's type.
- Parameters
-
◆ body()
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.
- Parameters
-
output | to stream document body into. |
◆ getHeaders()
char ** ost::MIMEMultipart::getHeaders |
( |
void | | ) |
|
|
inline |
Get a string array of the headers to use.
This is used to assist URLStream::post.
- Returns
- array of headers.
Definition at line 111 of file mime.h.
◆ head()
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.
- Parameters
-
output | to stream document header into. |
◆ MIMEItemPart
◆ boundry
char ost::MIMEMultipart::boundry[8] |
|
protected |
◆ first
◆ header
char* ost::MIMEMultipart::header[16] |
|
protected |
◆ last
◆ mtype
char ost::MIMEMultipart::mtype[80] |
|
protected |
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/ucommon-7.0.0-build/ucommon-7.0.0/inc/commoncpp/mime.h