DOKK / manpages / debian 10 / libcommoncpp2-doc / ost_MIMEMultipart.3.en
ost::MIMEMultipart(3) Library Functions Manual ost::MIMEMultipart(3)

ost::MIMEMultipart - A container class for multi-part MIME document objects which can be streamed to a std::ostream destination.

#include <mime.h>

Inherited by ost::MIMEMultipartForm.


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.


virtual ~MIMEMultipart ()


char boundry [8]
char mtype [80]
char * header [16]
MIMEItemPart * first
MIMEItemPart * last


class __EXPORT MIMEItemPart

A container class for multi-part MIME document objects which can be streamed to a std::ostream destination.

Author:

David Sugar dyfet@ostel.com container for streamable multi-part MIME documents.

Contruct a multi-part document, and describe it's type.

Parameters:

document (content) type.

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.

Get a string array of the headers to use. This is used to assist URLStream::post.

Returns:

array of headers.

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* ost::MIMEMultipart::first [protected]

MIMEItemPart * ost::MIMEMultipart::last [protected]

Generated automatically by Doxygen for GNU CommonC++ from the source code.

Wed Oct 31 2018 GNU CommonC++