#include <constraint.h>
Inheritance diagram for Constraint:

Public Member Functions | ||||
| Constraint (bool always=true) | ||||
| virtual bool | accepts (QVariant) const | |||
| ||||
| virtual QString | toString () const | |||
| ||||
Constraint describes a value range or set, of any type supported by QVariant.
Constraint objects are used for describing ranges of values in a single dimenison.
Definition at line 23 of file constraint.h.
| virtual bool Constraint::accepts | ( | QVariant | ) | const [inline, virtual] |
| value | the value to check the constraint against |
Reimplemented in IsoDateFormatConstraint, RegexConstraint, EnumConstraint, DoubleRangeConstraint, AndConstraint, and AlwaysConstraint.
Definition at line 35 of file constraint.h.
Referenced by ConstraintGroup::filter(), and ConstrainedDataObject::setProperty().
1.5.1