36 myMinFlag = theminflag;
38 myMaxFlag = themaxflag;
78 if (hasParmMin() && v < myMin)
80 else if (hasParmMax() && v > myMax)
86 if (hasRangeMin && v < myMin)
88 else if (hasRangeMax && v > myMax)
void constrain(bool hasRangeMin, bool hasRangeMax, fpreal &v) const
PRM_Range(PRM_RangeFlag theminflag=PRM_RANGE_UI, fpreal themin=0, PRM_RangeFlag themaxflag=PRM_RANGE_UI, fpreal themax=1)
fpreal getParmMin() const
fpreal getParmMax() const
void constrain(fpreal &v) const