Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

PHTTPField Class Reference

#include <httpform.h>

Inheritance diagram for PHTTPField:

PObject

List of all members.


Detailed Description

This class is the abstract base class for fields in a PHTTPForm# resource type.

Definition at line 101 of file httpform.h.


Comparison functions

virtual Comparison CompareObjectMemoryDirect (const PObject &obj) const
bool operator!= (const PObject &obj) const
bool operator< (const PObject &obj) const
bool operator<= (const PObject &obj) const
bool operator== (const PObject &obj) const
bool operator> (const PObject &obj) const
bool operator>= (const PObject &obj) const
enum  Comparison { LessThan = -1, EqualTo = 0, GreaterThan = 1 }

Run Time Type functions

virtual const char * GetClass (unsigned=0) const
virtual BOOL InternalIsDescendant (const char *clsName) const
BOOL IsClass (const char *cls) const
static const char * Class ()

I/O functions

virtual void PrintOn (ostream &strm) const
virtual void ReadFrom (istream &strm)
ostream & operator<< (ostream &strm, const PObject &obj)
istream & operator>> (istream &strm, PObject &obj)

Public Member Functions

virtual Comparison Compare (const PObject &obj) const
virtual void ExpandFieldNames (PString &text, PINDEX start, PINDEX &finish) const
virtual void GetAllNames (PStringList &list) const
const PCaselessStringGetBaseName () const
const PStringGetHelp () const
virtual void GetHTMLHeading (PHTML &html) const
virtual PString GetHTMLInput (const PString &input) const
virtual PString GetHTMLSelect (const PString &selection) const
virtual void GetHTMLTag (PHTML &html) const =0
const PCaselessStringGetName () const
const PStringGetTitle () const
virtual PString GetValue (BOOL dflt=FALSE) const =0
virtual void LoadFromConfig (PConfig &cfg)
virtual const PHTTPFieldLocateName (const PString &name) const
virtual PHTTPFieldNewField () const =0
BOOL NotYetInHTML () const
 PHTTPField (const char *bname, const char *title, const char *help)
virtual void SaveToConfig (PConfig &cfg) const
virtual void SetAllValues (const PStringToString &data)
void SetHelp (const PString &hotLinkURL, const PString &imageURL, const PString &imageText)
void SetHelp (const PString &hotLinkURL, const PString &linkText)
void SetHelp (const PString &text)
void SetInHTML ()
virtual void SetName (const PString &newName)
virtual void SetValue (const PString &newValue)=0
virtual BOOL ValidateAll (const PStringToString &data, PStringStream &msg) const
virtual BOOL Validated (const PString &newVal, PStringStream &msg) const
Miscellaneous functions
virtual PObjectClone () const
virtual PINDEX HashFunction () const

Protected Attributes

PCaselessString baseName
PCaselessString fullName
PString help
BOOL notInHTML
PString title

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

Generated by  Doxygen 1.6.0   Back to index