Bayonne2 / Common C++ 2 Framework
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
 
 
 
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 ( MIMEMultipartFormtop,
const char *  name,
const char *  content 
)

Construct form data field part of multipart form.

Parameters
top multipart form this is part of
name of form data field
content of form data field

Member Function Documentation

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

Stream content (value) of this form data field.

Parameters
output stream to send body to.

Implements MIMEItemPart.

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

Stream header, Content-Disposition form-data.

Parameters
output stream 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:

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 によって変換されたページ (->オリジナル) /