Public Member Functions

base_cgi::CGIFile Class Reference

An attached file in an html form. More...

#include <libppbase/base_cgi/CGIFile.h>

Inheritance diagram for base_cgi::CGIFile:
base::MemFile

List of all members.

Public Member Functions

 CGIFile (const base::String &name, const base::String &filename, size_t memlimit=1048576)
 Constructor.
const base::StringgetFileName () const
 Returns the file name.
const base::StringgetName () const
 Returns the attachment name.

Detailed Description

An attached file in an html form.

Author:
Christoph Schwarz
Version:
$Id: CGIFile.h 21 2010-09-05 04:18:17Z cschwarz1 $

Constructor & Destructor Documentation

base_cgi::CGIFile::CGIFile ( const base::String name,
const base::String filename,
size_t  memlimit = 1048576 
)

Constructor.

Parameters:
name the attachment name
filename the file name
memlimit memory limit in bytes

Member Function Documentation

const base::String& base_cgi::CGIFile::getFileName (  )  const

Returns the file name.

Returns:
the file name
const base::String& base_cgi::CGIFile::getName (  )  const

Returns the attachment name.

Returns:
the attachment name

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