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

ost::MIMEItemPart Class Reference

This is used to attach an item part to a MIME multipart document that is being streamed. item or part of a multi-part object. More...

#include <mime.h>

Inheritance diagram for ost::MIMEItemPart::

ost::MIMEFormData List of all members.

Protected Methods

virtual void head (std::ostream *output)
 Stream the header(s) for the current document part. More...

virtual void body (std::ostream *output)=0
 Stream the content of this document part. More...

 MIMEItemPart (MIMEMultipart *top, const char *ct)
 Construct and attach a document part to a multipart document. More...

virtual ~MIMEItemPart ()

Protected Attributes

MIMEMultipartbase
MIMEItemPart* next
const char* ctype

Friends

class __EXPORT MIMEMultipart

Detailed Description

This is used to attach an item part to a MIME multipart document that is being streamed. item or part of a multi-part object.

The base item part class is used by all derived items.

Author:
David Sugar <dyfet@ostel.com>


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.

ost::MIMEItemPart::~MIMEItemPart ( ) [protected, virtual]
 


Member Function Documentation

void ost::MIMEItemPart::body ( std::ostream * output ) [protected, pure virtual]
 

Stream the content of this document part.

Parameters:
output   to stream document body into.

Reimplemented in ost::MIMEFormData.

void ost::MIMEItemPart::head ( std::ostream * output ) [protected, virtual]
 

Stream the header(s) for the current document part.

Parameters:
output   to stream header into.

Reimplemented in ost::MIMEFormData.


Friends And Related Function Documentation

class __EXPORT MIMEMultipart [friend]
 


Member Data Documentation

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

const char * ost::MIMEItemPart::ctype [protected]
 

MIMEItemPart * ost::MIMEItemPart::next [protected]
 


The documentation for this class was generated from the following file:
Generated at Fri May 30 14:51:03 2008 for GNU CommonC++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001