class QucHTMLFormAnalyser : public QucHTMLSupport

a class that can generate and analyse HTML forms

Inheritance:


Public Methods

void analyse ( const RWCString& aString )
void become ( const QucHTMLFormAnalyser& aRef )
virtual QucHTMLEvaluation evaluateChars ()
virtual QucHTMLEvaluation evaluateCheckBoxes ()
virtual QucHTMLEvaluation evaluateDoubles ()
virtual QucHTMLEvaluation evaluateInts ()
virtual QucHTMLEvaluation evaluateRadioButtons ()
virtual QucHTMLEvaluation evaluateTextArea ()
virtual void generateForm ()
virtual void generatePrimeForm ()
virtual void generateResult ()
RWCString getFormData ()
QucHTMLEvaluation getParseResult ()
QucHTMLFormAnalyser& operator= ( const QucHTMLFormAnalyser& aRef )
virtual QucHTMLEvaluation parseChar ( const RWCString& aName, RWCString& aValue )
virtual QucHTMLEvaluation parseCheckBox ( const RWCString& aName, CorBool& aFlag )
virtual QucHTMLEvaluation parseDouble ( const RWCString& aName, double& aValue )
virtual QucHTMLEvaluation parseInt ( const RWCString& aName, int& aValue )
virtual QucHTMLEvaluation parseRadioB ( const RWCString& aName, RWCString& aValue )
QucHTMLFormAnalyser ( const QucHTMLFormAnalyser& aRef )
QucHTMLFormAnalyser ()
QucHTMLEvaluation retrieveValues ()
void setKeyAndValue ( RWCString aString )
void setParseResult ( QucHTMLEvaluation anEvaluation )
virtual ~QucHTMLFormAnalyser ()

Public


Purpose
Query the parse result

Purpose
Evaluate a set of text area fields in this form

Purpose
The default c'tor

Purpose
The d'tor

Purpose
Output the HTML form page

Purpose
Output the HTML form page (without HTML header and footer)

Purpose
Output the result of the HTML form page

Purpose
Get the form data into this instance

Purpose
Evaluate a set of integer input fields in this form

Purpose
Query all the data entered into the form

Purpose
Evaluate a set of checkboxes in this form

Purpose
Evaluate a set of radio buttons in this form

Purpose
Evaluate a set of string fields in this form

Purpose
Evaluate a set of double input fields in this form
QucTAG_EVALUATED
$Id: QucHTMLFormAnalyser

Documentation

a class that can generate and analyse HTML forms
QucTAG_EVALUATED
$Id: QucHTMLFormAnalyser.h,v 1.6 1997/04/11 14:11:00 mwiedmer Exp $

SYNOPSIS

    #include <QucHTMLFormAnalyser.h>
  
    QucHTMLFormAnalyser myObject;
  

DESCRIPTION
This class provides the functionality to generate and analyse an HTML form.

CAUTIONS
<optional>

EXAMPLES
<optional>

SEE ALSO
<optional>
CorBase

QucHTMLFormAnalyser()

Purpose
The default c'tor.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

QucHTMLFormAnalyser( const QucHTMLFormAnalyser& aRef )

QucHTMLFormAnalyser& operator=( const QucHTMLFormAnalyser& aRef )

virtual ~QucHTMLFormAnalyser()

Purpose
The d'tor.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

virtual void generateForm()

Purpose
Output the HTML form page.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

virtual void generatePrimeForm()

Purpose
Output the HTML form page (without HTML header and footer).

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

virtual void generateResult()

Purpose
Output the result of the HTML form page.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

QucHTMLEvaluation retrieveValues()

Purpose
Get the form data into this instance.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Returns
This function returns whether all the data could be parsed (QucTAG_EVALUATED) or whether there was an error (QucTAG_NOT_EVALUATED).

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

void analyse( const RWCString& aString )

void become( const QucHTMLFormAnalyser& aRef )

void setKeyAndValue( RWCString aString )

void setParseResult( QucHTMLEvaluation anEvaluation )

QucHTMLEvaluation getParseResult()

Purpose
Query the parse result.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Returns
This function returns the parse result attribute.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

RWCString getFormData()

Purpose
Query all the data entered into the form.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Returns
This function returns a string that holds all the data of the form.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

virtual QucHTMLEvaluation evaluateCheckBoxes()

Purpose
Evaluate a set of checkboxes in this form.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Returns
This function returns whether all the data could be parsed (QucTAG_EVALUATED) or whether there was an error (QucTAG_NOT_EVALUATED).

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

virtual QucHTMLEvaluation evaluateRadioButtons()

Purpose
Evaluate a set of radio buttons in this form.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Returns
This function returns whether all the data could be parsed (QucTAG_EVALUATED) or whether there was an error (QucTAG_NOT_EVALUATED).

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

virtual QucHTMLEvaluation evaluateChars()

Purpose
Evaluate a set of string fields in this form.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Returns
This function returns whether all the data could be parsed (QucTAG_EVALUATED) or whether there was an error (QucTAG_NOT_EVALUATED).

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

virtual QucHTMLEvaluation evaluateDoubles()

Purpose
Evaluate a set of double input fields in this form.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Returns
This function returns whether all the data could be parsed (QucTAG_EVALUATED) or whether there was an error (QucTAG_NOT_EVALUATED).

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

virtual QucHTMLEvaluation evaluateInts()

Purpose
Evaluate a set of integer input fields in this form.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Returns
This function returns whether all the data could be parsed (QucTAG_EVALUATED) or whether there was an error (QucTAG_NOT_EVALUATED).

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

virtual QucHTMLEvaluation evaluateTextArea()

Purpose
Evaluate a set of text area fields in this form.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Returns
This function returns whether all the data could be parsed (QucTAG_EVALUATED) or whether there was an error (QucTAG_NOT_EVALUATED).

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

virtual QucHTMLEvaluation parseCheckBox( const RWCString& aName, CorBool& aFlag )

virtual QucHTMLEvaluation parseRadioB( const RWCString& aName, RWCString& aValue )

virtual QucHTMLEvaluation parseChar( const RWCString& aName, RWCString& aValue )

virtual QucHTMLEvaluation parseDouble( const RWCString& aName, double& aValue )

virtual QucHTMLEvaluation parseInt( const RWCString& aName, int& aValue )


Direct child classes:
QucView

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de