FloatArrayLengthValidator
This a python binding to the C++ class Mantid::Kernel::ArrayLengthValidator.
bases: mantid.kernel.IValidator
-
class mantid.kernel.FloatArrayLengthValidator((object)arg1)
-
__init__((object)arg1) → None
- __init__( (object)arg1, (int)length) -> None :
- Constructs a validator verifying that an array is of the exact length given
- __init__( (object)arg1, (int)lenmin, (int)lenmax) -> None :
- Constructs a validator verifying that the length of an array is within the range given
-
clearLength((FloatArrayLengthValidator)arg1) → None :
Clears accepted length of an array
-
clearLengthMax((FloatArrayLengthValidator)arg1) → None :
Set the accepted maximum length of an array
-
clearLengthMin((FloatArrayLengthValidator)arg1) → None :
Set the accepted minimum length of an array
-
getLength((FloatArrayLengthValidator)arg1) → int :
Returns the set fixed length
-
getMaxLength((FloatArrayLengthValidator)arg1) → int :
Returns the set maximum length
-
getMinLength((FloatArrayLengthValidator)arg1) → int :
Returns the set minimum length
-
hasLength((FloatArrayLengthValidator)arg1) → bool :
Returns true if a single length has been set
-
hasMaxLength((FloatArrayLengthValidator)arg1) → bool :
Returns true if a maximum length has been set
-
hasMinLength((FloatArrayLengthValidator)arg1) → bool :
Returns true if a minimum length has been set
-
setLength((FloatArrayLengthValidator)arg1, (int)arg2) → None :
Set the accepted length of an array
-
setLengthMax((FloatArrayLengthValidator)arg1, (int)arg2) → None :
Set the accepted maximum length of an array
-
setLengthMin((FloatArrayLengthValidator)arg1, (int)arg2) → None :
Set the accepted minimum length of an array