class AFormItem : public APairItem
An object that contains HTTP FORM submissions as APairItem
Method Description
int fiSetAndParse
(
const char *pccItem
) public
A parsing method. Accepts {pccItem} as "{NAME}={VALUE}" pair and splits it up. Performs URL decoding as needed.
Returns: Nothing.
class AFormList : public APairList
A list object that contains AFormItems that are HTTP FORM submissions.
Method Description
virtual void doOut
(
   AStreamOutput *pasOut
) public
The output of this object is identical to AElementPairList::doURLParams.

Output: {NAME1}={VALUE1}&{NAME2}={VALUE2}&...

Returns: Nothing.
int flGenerateList
(
   istream *pisInput,
   int iContentLength
) public
Parsing method. Given istream-derived object {pisInput} (usually cin) of length {iContentLength} (usually CONTENT_LENGTH environment variable), it parses the FORM submission into discrete AFormItem pairs.

Returns: Number of FORM items found.
int flGenerateList
(
   const char *pccInput
) public
Parsing method. Accepts a NULL-terminated character string (usually QUERY_STRING environment variable) which this object parses into AFormItem pairs.

Returns: Number of FORM items found.
AFormItem *flAddItem
(
   const char *pccItem,
   int iReplace=0x0
) public
Accepts a NULL-terminated character string in form of "NAME=VALUE", which is parsed as AFormItem and added to the end of the list.

Returns: A pointer to the new AFormItem.