DoubleRangeConstraint Class Reference

Constraint for range of two double values. More...

#include <constraint.h>

Inheritance diagram for DoubleRangeConstraint:

Inheritance graph
[legend]
Collaboration diagram for DoubleRangeConstraint:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DoubleRangeConstraint (double low, double high)
QString toString () const
 
Returns:
an informative string describing this constraint (XML)

bool accepts (QVariant qv) const
 
Parameters:
value the value to check the constraint against


Detailed Description

Constraint for range of two double values.

Definition at line 105 of file constraint.h.


Member Function Documentation

bool DoubleRangeConstraint::accepts ( QVariant  qv  )  const [virtual]

Parameters:
value the value to check the constraint against

Returns:
true if the value is accepted by this constraint

Reimplemented from Constraint.

Definition at line 4 of file constraint.cpp.


The documentation for this class was generated from the following files:
Generated on Wed Sep 30 01:15:44 2009 for oopapidocs by  doxygen 1.5.1