IntArrayBoundedValidator

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

bases: mantid.kernel.IValidator

class mantid.kernel.IntArrayBoundedValidator((object)arg1)
__init__((object)arg1) → None
__init__( (object)self, (int)lowerBound, (int)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((IntArrayBoundedValidator)self) → None :

Clear any set lower bound

clearUpper((IntArrayBoundedValidator)self) → None :

Clear any set upper bound

hasLower((IntArrayBoundedValidator)self) → bool :

Return true if a lower bound has been set

hasUpper((IntArrayBoundedValidator)self) → bool :

Return true if an upper bound has been set

isLowerExclusive((IntArrayBoundedValidator)self) → bool :

Return True if the lower bound is exclusive

isUpperExclusive((IntArrayBoundedValidator)self) → bool :

Return True if the upper bound is exclusive

lower((IntArrayBoundedValidator)self) → int :

Return the lower bound

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

Set if the bounds are exclusive

setLower((IntArrayBoundedValidator)self, (int)lower) → None :

Set the lower bound

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

Set if the lower bound is exclusive

setUpper((IntArrayBoundedValidator)self, (int)upper) → None :

Set the upper bound

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

Set if the upper bound is exclusive

upper((IntArrayBoundedValidator)self) → int :

Return the upper bound