class QucView : public QucHTMLFormAnalyser

an HTML form creator and analyser

Inheritance:


public members:

QucView ( CorString aName = "View" )
CorString aName
QucView ( const QucView & aRef )
const QucView & aRef
QucView & operator= ( const QucView & aRef )
const QucView & aRef
virtual ~QucView ()
void setParameter ( const DfcParameter& aParameter )
void setParameter ( const CorString& aName, const DfcValue& aValue )
const CorString& aName
const DfcValue& aValue
const DfcParameter* getParameter ( const CorString& aName ) const
const CorString& aName
virtual QucHTMLEvaluation parseCheckBox ( const CorString& aName, CorBool& aFlag )
const CorString& aName
CorBool& aFlag
virtual QucHTMLEvaluation parseRadioB ( const CorString& aName, CorString& aValue )
const CorString& aName
CorString& aValue
virtual QucHTMLEvaluation parseChar ( const CorString& aName, CorString& aValue )
const CorString& aName
CorString& aValue
virtual QucHTMLEvaluation parseDouble ( const CorString& aName, double& aValue )
const CorString& aName
double& aValue
virtual QucHTMLEvaluation parseInt ( const CorString& aName, int& aValue )
const CorString& aName
int& aValue
void become ( const QucView & aRef )
const QucView & aRef

Inherited from QucHTMLFormAnalyser:

public members:

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

Inherited from QucHTMLSupport:

public members:

QucHTMLSupport & operator=( const QucHTMLSupport & aRef )
const QucHTMLSupport & aRef
CorString getLine(istream* aStream) const
void generateHeader( CorString aTitle ) const
CorString aTitle
void generateFooter() const
char x2c( const char* aToken )
const char* aToken
CorString decypher( const CorString& aString )
const CorString& aString
void become( const QucHTMLSupport & aRef )
const QucHTMLSupport & aRef

Documentation


SYNOPSIS

    #include <QucView.h>
  
    QucView myObject;
  

DESCRIPTION
This class can create and analyse a form. The form can contain several parameters which can be queried and modified.

CAUTIONS
<optional>

EXAMPLES
<optional>

SEE ALSO
QucHTMLFormAnalyser

QucView ( CorString aName = "View" )
Purpose
The (default) c'tor.

Arguments

CorString aName
the name of this instance

QucView ( const QucView & aRef )
Purpose
The copy c'tor creates a new instance from a reference.

Arguments

const QucView & aRef
the reference instance

QucView & operator= ( const QucView & aRef )
Purpose
The assignment operator makes this instance look like another one.

Arguments

const QucView & aRef
the reference instance

virtual ~QucView ()
Purpose
The d'tor.

void setParameter ( const DfcParameter& aParameter )
Purpose
Set a complete parameter.

Arguments
new parameter

void setParameter ( const CorString& aName, const DfcValue& aValue )
Purpose
Set the value of a named parameter.

Arguments

const CorString& aName
name of the parameter

const DfcValue& aValue
value of the parameter

const DfcParameter* getParameter ( const CorString& aName ) const
Purpose
Query a named parameter.

Returns This function returns the value of the named parameter.

Arguments

const CorString& aName
name of the parameter

virtual QucHTMLEvaluation parseCheckBox ( const CorString& aName, CorBool& aFlag )
Purpose
Store the value of a keyword.

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.

Arguments

const CorString& aName
keyword

CorBool& aFlag
value

virtual QucHTMLEvaluation parseRadioB ( const CorString& aName, CorString& aValue )
Purpose
Store the value of a keyword.

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.

Arguments

const CorString& aName
keyword

CorString& aValue
Another value

virtual QucHTMLEvaluation parseChar ( const CorString& aName, CorString& aValue )
Purpose
Store the value of a keyword.

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.

Arguments

const CorString& aName
keyword

CorString& aValue
value

virtual QucHTMLEvaluation parseDouble ( const CorString& aName, double& aValue )
Purpose
Store the value of a keyword.

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.

Arguments

const CorString& aName
keyword

double& aValue
value

virtual QucHTMLEvaluation parseInt ( const CorString& aName, int& aValue )
Purpose
Store the value of a keyword.

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.

Arguments

const CorString& aName
keyword

int& aValue
value

void become ( const QucView & aRef )
Purpose
This instance takes on the values of a reference instance.

Arguments

const QucView & aRef
reference instance


this class has no child classes.

alphabetic index hierarchy of classes


VLT-DFS Subsystem Core - User Manual 1.1 VLT-MAN-ESO-19000-0001

generated by doc++