39 #ifndef OME_XML_MODEL_PRIMITIVES_NUMERICCONSTRAINTS_H 40 #define OME_XML_MODEL_PRIMITIVES_NUMERICCONSTRAINTS_H 42 #include <ome/xml/model/primitives/ConstrainedNumeric.h> 70 return value >
static_cast<N
>(0);
112 return value >=
static_cast<N
>(0);
154 return value >= 0.0 && value <= 1.0;
163 #endif // OME_XML_MODEL_PRIMITIVES_NUMERICCONSTRAINTS_H bool operator()(const N &value) const
Check that value > 0.
Definition: NumericConstraints.h:68
Constraint for strictly positive integer values.
Definition: NumericConstraints.h:59
Constraint for non-negative integer values.
Definition: NumericConstraints.h:101
Open Microscopy Environment C++ implementation.
Constraint for strictly positive floating point values.
Definition: NumericConstraints.h:80
Constraint for fractional floating point values.
Definition: NumericConstraints.h:143
Constraint for non-negative floating point values.
Definition: NumericConstraints.h:122