Public Member Functions |
| PHTTPFieldArray (PHTTPField *baseField, PBoolean ordered, PINDEX fixedSize=0) |
| ~PHTTPFieldArray () |
virtual PHTTPField * | NewField () const |
| Create a new field of the same class as the current field.
|
virtual void | ExpandFieldNames (PString &text, PINDEX start, PINDEX &finish) const |
virtual void | GetHTMLTag (PHTML &html) const |
| Convert the field to HTML form tag for inclusion into the HTTP page.
|
virtual void | LoadFromConfig (PConfig &cfg) |
| Get the value of the PConfig to the sub-field.
|
virtual void | SaveToConfig (PConfig &cfg) const |
| Set the value of the sub-field into the PConfig.
|
virtual void | SetAllValues (const PStringToString &data) |
| Set the value of the field in a list of fields.
|
virtual PINDEX | GetSize () const |
| Get the number of sub-fields in the composite field.
|
void | SetSize (PINDEX newSize) |
PStringArray | GetStrings (PConfig &cfg) |
void | SetStrings (PConfig &cfg, const PStringArray &values) |
| PHTTPCompositeField (const char *name, const char *title=NULL, const char *help=NULL, bool includeHeaders=false) |
virtual void | SetName (const PString &name) |
| Set the name for the field.
|
virtual const PHTTPField * | LocateName (const PString &name) const |
| Locate the field naem, recusing down for composite fields.
|
virtual PString | GetHTMLInput (const PString &input) const |
| Convert the field input to HTML for inclusion into the HTTP page.
|
virtual void | GetHTMLHeading (PHTML &html) const |
| Convert the field to HTML for inclusion into the HTTP page.
|
virtual PString | GetValue (PBoolean dflt=false) const |
| Get the string value of the field.
|
virtual void | SetValue (const PString &newValue) |
| Set the value of the field.
|
virtual void | GetAllNames (PStringArray &names) const |
| Retrieve all the names in the field and subfields.
|
virtual PBoolean | ValidateAll (const PStringToString &data, PStringStream &msg) const |
| Validate the new field value in a list before SetValue() is called.
|
void | Append (PHTTPField *fld) |
PHTTPField & | operator[] (PINDEX idx) const |
void | RemoveAt (PINDEX idx) |
void | RemoveAll () |
| PHTTPField (const char *bname, const char *title, const char *help) |
virtual Comparison | Compare (const PObject &obj) const |
| Compare the fields using the field names.
|
const PCaselessString & | GetName () const |
| Get the identifier name of the field.
|
const PCaselessString & | GetBaseName () const |
| Get the identifier name of the field.
|
const PString & | GetTitle () const |
| Get the title of the field.
|
const PString & | GetHelp () const |
| Get the title of the field.
|
void | SetHelp (const PString &text) |
void | SetHelp (const PString &hotLinkURL, const PString &linkText) |
void | SetHelp (const PString &hotLinkURL, const PString &imageURL, const PString &imageText) |
virtual PString | GetHTMLSelect (const PString &selection) const |
| Convert the field input to HTML for inclusion into the HTTP page.
|
virtual PBoolean | Validated (const PString &newVal, PStringStream &msg) const |
| Validate the new field value before SetValue() is called.
|
PBoolean | NotYetInHTML () const |
void | SetInHTML () |
virtual | ~PObject () |
virtual PObject * | Clone () const |
| Create a copy of the class on the heap.
|
virtual PINDEX | HashFunction () const |
| This function yields a hash value required by the PDictionary class.
|
virtual Comparison | CompareObjectMemoryDirect (const PObject &obj) const |
| Determine the byte wise comparison of two objects.
|
bool | operator== (const PObject &obj) const |
| Compare the two objects.
|
bool | operator!= (const PObject &obj) const |
| Compare the two objects.
|
bool | operator< (const PObject &obj) const |
| Compare the two objects.
|
bool | operator> (const PObject &obj) const |
| Compare the two objects.
|
bool | operator<= (const PObject &obj) const |
| Compare the two objects.
|
bool | operator>= (const PObject &obj) const |
| Compare the two objects.
|
virtual const char * | GetClass (unsigned ancestor=0) const |
| Get the current dynamic type of the object instance.
|
PBoolean | IsClass (const char *cls) const |
virtual PBoolean | InternalIsDescendant (const char *clsName) const |
| Determine if the dynamic type of the current instance is a descendent of the specified class.
|
virtual void | PrintOn (ostream &strm) const |
| Output the contents of the object to the stream.
|
virtual void | ReadFrom (istream &strm) |
| Input the contents of the object from the stream.
|