Poster of Linux kernelThe best gift for a Linux geek
ost::MIMEFormData

ost::MIMEFormData

Section: C Library Functions (3) Updated: 16 Feb 2010
Local index Up
 

NAME

ost::MIMEFormData -

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

 

SYNOPSIS


#include <mime.h>

Inherits ost::MIMEItemPart.  

Public Member Functions


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

Protected Member Functions


virtual ~MIMEFormData ()
 

Protected Attributes


const char * content

const char * name
 

Detailed Description

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

Author:

David Sugar <dyfet@ostel.com> multipart document part for web form data field.

 

Constructor & Destructor Documentation

 

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

 

ost::MIMEFormData::MIMEFormData (MIMEMultipartForm * top, 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 ost::MIMEFormData::body (std::ostream * output) [virtual]

Stream content (value) of this form data field. Parameters:

output stream to send body to.

Implements ost::MIMEItemPart.  

void ost::MIMEFormData::head (std::ostream * output) [virtual]

Stream header, Content-Disposition form-data. Parameters:

output stream to send header to.

Reimplemented from ost::MIMEItemPart.  

Member Data Documentation

 

const char* ost::MIMEFormData::content [protected]

 

const char* ost::MIMEFormData::name [protected]

 

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.


 

Index

NAME
SYNOPSIS
Public Member Functions
Protected Member Functions
Protected Attributes
Detailed Description
Constructor & Destructor Documentation
virtual ost::MIMEFormData::~MIMEFormData () [protected, virtual]
ost::MIMEFormData::MIMEFormData (MIMEMultipartForm * top, const char * name, const char * content)
Member Function Documentation
void ost::MIMEFormData::body (std::ostream * output) [virtual]
void ost::MIMEFormData::head (std::ostream * output) [virtual]
Member Data Documentation
const char* ost::MIMEFormData::content [protected]
const char* ost::MIMEFormData::name [protected]
Author

This document was created by man2html, using the manual pages.
Time: 21:51:51 GMT, April 16, 2011