Bayonne2 / Common C++ 2 Framework
Protected Member Functions | Protected Attributes | Friends
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 MIMEItemPart:
Inheritance graph
[legend]
Collaboration diagram for MIMEItemPart:
Collaboration graph
[legend]

Protected Member Functions

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

 
 
const char *  ctype
 

Friends

 

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 143 of file mime.h.

Constructor & Destructor Documentation

MIMEItemPart::MIMEItemPart ( MIMEMultiparttop,
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.
virtual MIMEItemPart::~MIMEItemPart ( )
protectedvirtual

Member Function Documentation

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

Stream the content of this document part.

Parameters
output to stream document body into.

Implemented in MIMEFormData.

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

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

Parameters
output to stream header into.

Reimplemented in MIMEFormData.

Friends And Related Function Documentation

friend class __EXPORT MIMEMultipart
friend

Definition at line 146 of file mime.h.

Field Documentation

MIMEMultipart* MIMEItemPart::base
protected

Definition at line 148 of file mime.h.

const char* MIMEItemPart::ctype
protected

Definition at line 150 of file mime.h.

MIMEItemPart* MIMEItemPart::next
protected

Definition at line 149 of file mime.h.


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

Generated on Dec 21, 2017 for commoncpp2-1.8.1, ccrtp-1.7.2, libzrtpcpp-2.3.4, ccscript3-1.1.7, ccaudio2-1.0.0 and bayonne2-2.3.2 (after installation in /usr/local/) by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /