Bayonne2 / Common C++ 2 Framework
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes
MIMEFormData Class Reference

This is a document part type for use in submitting multipart form data to a web server. More...

#include <mime.h>

Inheritance diagram for MIMEFormData:
Inheritance graph
[legend]
Collaboration diagram for MIMEFormData:
Collaboration graph
[legend]

Public Member Functions

void head (std::ostream *output)
 Stream header, Content-Disposition form-data. More...
 
void body (std::ostream *output)
 Stream content (value) of this form data field. More...
 
 MIMEFormData (MIMEMultipartForm *top, const char *name, const char *content)
 Construct form data field part of multipart form. More...
 

Protected Member Functions

virtual ~MIMEFormData ()
 

Protected Attributes

const char * content
 
const char * name
 
MIMEMultipartbase
 
MIMEItemPartnext
 
const char * ctype
 

Detailed Description

This is a document part type for use in submitting multipart form data to a web server.

Author
David Sugar dyfet.nosp@m.@ost.nosp@m.el.co.nosp@m.m multipart document part for web form data field.

Definition at line 184 of file mime.h.

Constructor & Destructor Documentation

virtual MIMEFormData::~MIMEFormData ( )
protectedvirtual
MIMEFormData::MIMEFormData ( MIMEMultipartForm top,
const char *  name,
const char *  content 
)

Construct form data field part of multipart form.

Parameters
topmultipart form this is part of
nameof form data field
contentof form data field

Member Function Documentation

void MIMEFormData::body ( std::ostream *  output)
virtual

Stream content (value) of this form data field.

Parameters
outputstream to send body to.

Implements MIMEItemPart.

void MIMEFormData::head ( std::ostream *  output)
virtual

Stream header, Content-Disposition form-data.

Parameters
outputstream to send header to.

Reimplemented from MIMEItemPart.

Field Documentation

MIMEMultipart* MIMEItemPart::base
protectedinherited

Definition at line 148 of file mime.h.

const char* MIMEFormData::content
protected

Definition at line 187 of file mime.h.

const char* MIMEItemPart::ctype
protectedinherited

Definition at line 150 of file mime.h.

const char* MIMEFormData::name
protected

Definition at line 188 of file mime.h.

MIMEItemPart* MIMEItemPart::next
protectedinherited

Definition at line 149 of file mime.h.


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