ost::MIMEMultipart
ost::MIMEMultipart
Section: C Library Functions (3) Updated: 16 Feb 2010 Local index
Up
NAME
ost::MIMEMultipart -
A container class for multi-part MIME document objects which can be streamed to a std::ostream destination.
SYNOPSIS
#include <mime.h >
Inherited by ost::MIMEMultipartForm .
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 MIMEItemPart
Detailed Description
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.
Constructor & Destructor Documentation
virtual ost::MIMEMultipart::~MIMEMultipart () [protected, virtual]
ost::MIMEMultipart::MIMEMultipart (const char * document)
Contruct a multi-part document, and describe it's type. Parameters:
document (content) type.
Member Function Documentation
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.
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.
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.
Friends And Related Function Documentation
friend class MIMEItemPart [friend]
Member Data Documentation
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]
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
Index
NAME
SYNOPSIS
Public Member Functions
Protected Member Functions
Protected Attributes
Friends
Detailed Description
Constructor & Destructor Documentation
virtual ost::MIMEMultipart::~MIMEMultipart () [protected, virtual]
ost::MIMEMultipart::MIMEMultipart (const char * document)
Member Function Documentation
virtual void ost::MIMEMultipart::body (std::ostream * output) [virtual]
char** ost::MIMEMultipart::getHeaders (void) [inline]
virtual void ost::MIMEMultipart::head (std::ostream * output) [virtual]
Friends And Related Function Documentation
friend class MIMEItemPart [friend]
Member Data Documentation
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]
Author
This document was created by
man2html ,
using the manual pages.
Time: 21:51:51 GMT, April 16, 2011