FloatArrayBoundedValidator

This is a Python binding to the C++ class Mantid::Kernel::ArrayBoundedValidator.

bases: mantid.kernel.IValidator

class mantid.kernel.FloatArrayBoundedValidator((object)arg1)
__init__((object)arg1) → None
__init__( (object)self, (float)lowerBound, (float)upperBound) -> None :
Construct a validator to ensure each value is in the given range

__init__( (object)arg1 [, (object)lower=None [, (object)upper=None [, (bool)exclusive=False]]]) -> object

clearLower((FloatArrayBoundedValidator)self) → None :

Clear any set lower bound

clearUpper((FloatArrayBoundedValidator)self) → None :

Clear any set upper bound

hasLower((FloatArrayBoundedValidator)self) → bool :

Return true if a lower bound has been set

hasUpper((FloatArrayBoundedValidator)self) → bool :

Return true if an upper bound has been set

isLowerExclusive((FloatArrayBoundedValidator)self) → bool :

Return True if the lower bound is exclusive

isUpperExclusive((FloatArrayBoundedValidator)self) → bool :

Return True if the upper bound is exclusive

lower((FloatArrayBoundedValidator)self) → float :

Return the lower bound

setExclusive((FloatArrayBoundedValidator)self, (bool)exclusive) → None :

Set if the bounds are exclusive

setLower((FloatArrayBoundedValidator)self, (float)lower) → None :

Set the lower bound

setLowerExclusive((FloatArrayBoundedValidator)self, (bool)exclusive) → None :

Set if the lower bound is exclusive

setUpper((FloatArrayBoundedValidator)self, (float)upper) → None :

Set the upper bound

setUpperExclusive((FloatArrayBoundedValidator)self, (bool)exclusive) → None :

Set if the upper bound is exclusive

upper((FloatArrayBoundedValidator)self) → float :

Return the upper bound