UCommon
ost::MIMEItemPart Class Referenceabstract

This is used to attach an item part to a MIME multipart document that is being streamed. More...

#include <mime.h>

Inheritance diagram for ost::MIMEItemPart:
Collaboration diagram for ost::MIMEItemPart:

Protected Member Functions

virtual void body (std::ostream *output)=0
 Stream the content of this document part.
 
virtual void head (std::ostream *output)
 Stream the header(s) for the current document part.
 
 MIMEItemPart (MIMEMultipart *top, const char *ct)
 Construct and attach a document part to a multipart document.
 

Protected Attributes

MIMEMultipartbase
 
const char * ctype
 
MIMEItemPartnext
 

Friends

class MIMEMultipart
 

Detailed Description

This is used to attach an item part to a MIME multipart document that is being streamed.

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

Author
David Sugar dyfet.nosp@m.@ost.nosp@m.el.co.nosp@m.m

item or part of a multi-part object.

Definition at line 148 of file mime.h.

Constructor & Destructor Documentation

◆ MIMEItemPart()

ost::MIMEItemPart::MIMEItemPart ( MIMEMultipart * top,
const char * ct )
protected

Construct and attach a document part to a multipart document.

Parameters
topmultipart document to attach to.
ctContent-Type to use.

Member Function Documentation

◆ body()

virtual void ost::MIMEItemPart::body ( std::ostream * output)
protectedpure virtual

Stream the content of this document part.

Parameters
outputto stream document body into.

Implemented in ost::MIMEFormData.

◆ head()

virtual void ost::MIMEItemPart::head ( std::ostream * output)
protectedvirtual

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

Parameters
outputto stream header into.

Reimplemented in ost::MIMEFormData.

Friends And Related Symbol Documentation

◆ MIMEMultipart

friend class MIMEMultipart
friend

Definition at line 154 of file mime.h.

Field Documentation

◆ base

MIMEMultipart* ost::MIMEItemPart::base
protected

Definition at line 156 of file mime.h.

◆ ctype

const char* ost::MIMEItemPart::ctype
protected

Definition at line 158 of file mime.h.

◆ next

MIMEItemPart* ost::MIMEItemPart::next
protected

Definition at line 157 of file mime.h.


The documentation for this class was generated from the following file: