Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Examples  

ost::MIMEMultipart Class Reference

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

#include <mime.h>

Inheritance diagram for ost::MIMEMultipart::

ost::MIMEMultipartForm List of all members.

Public Methods

 MIMEMultipart (const char *document)
 Contruct a multi-part document, and describe it's type. More...

virtual void head (std::ostream *output)
 Stream the headers of the multi-part document. More...

virtual void body (std::ostream *output)
 Stream the "body" of the multi-part document. More...

char** getHeaders (void)
 Get a string array of the headers to use. More...


Protected Methods

virtual ~MIMEMultipart ()

Protected Attributes

char boundry [8]
char mtype [80]
char* header [16]
MIMEItemPartfirst
MIMEItemPartlast

Friends

class __EXPORT MIMEItemPart

Detailed Description

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

Author:
David Sugar <dyfet@ostel.com>


Constructor & Destructor Documentation

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

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.

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

class __EXPORT MIMEItemPart [friend]
 


Member Data Documentation

char ost::MIMEMultipart::boundry [protected]
 

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

char * ost::MIMEMultipart::header [protected]
 

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

char ost::MIMEMultipart::mtype [protected]
 


The documentation for this class was generated from the following file:
Generated at Sat May 12 18:59:42 2007 for GNU CommonC++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001