Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

PHTTPStringField Class Reference

#include <httpform.h>

Inheritance diagram for PHTTPStringField:

PHTTPField PObject PHTTPPasswordField List of all members.

Public Member Functions

 PHTTPStringField (const char *name, PINDEX size, const char *initVal=NULL, const char *help=NULL)
 PHTTPStringField (const char *name, const char *title, PINDEX size, const char *initVal=NULL, const char *help=NULL)
virtual PHTTPFieldNewField () const
virtual void GetHTMLTag (PHTML &html) const
virtual PString GetValue (BOOL dflt=FALSE) const
virtual void SetValue (const PString &newVal)

Protected Attributes

PString value
PString initialValue
PINDEX size

Constructor & Destructor Documentation

PHTTPStringField::PHTTPStringField const char *  name,
PINDEX  size,
const char *  initVal = NULL,
const char *  help = NULL
 

PHTTPStringField::PHTTPStringField const char *  name,
const char *  title,
PINDEX  size,
const char *  initVal = NULL,
const char *  help = NULL
 


Member Function Documentation

virtual void PHTTPStringField::GetHTMLTag PHTML html  )  const [virtual]
 

Convert the field to HTML form tag for inclusion into the HTTP page.

Implements PHTTPField.

Reimplemented in PHTTPPasswordField.

virtual PString PHTTPStringField::GetValue BOOL  dflt = FALSE  )  const [virtual]
 

Get the string value of the field.

Returns:
String for field value.

Implements PHTTPField.

Reimplemented in PHTTPPasswordField.

virtual PHTTPField* PHTTPStringField::NewField  )  const [virtual]
 

Create a new field of the same class as the current field.

Returns:
New field object instance.

Implements PHTTPField.

Reimplemented in PHTTPPasswordField.

virtual void PHTTPStringField::SetValue const PString newVal  )  [virtual]
 

Set the value of the field.

Implements PHTTPField.

Reimplemented in PHTTPPasswordField.


Member Data Documentation

PString PHTTPStringField::initialValue [protected]
 

PINDEX PHTTPStringField::size [protected]
 

PString PHTTPStringField::value [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Feb 21 20:43:14 2005 for PWLib by  doxygen 1.4.1