\(\renewcommand\AA{\unicode{x212B}}\)

FloatArrayLengthValidator

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

bases: mantid.kernel.IValidator

class mantid.kernel.FloatArrayLengthValidator
clearLength((FloatArrayLengthValidator)self) → None :

Clears accepted length of an array

clearLengthMax((FloatArrayLengthValidator)self) → None :

Set the accepted maximum length of an array

clearLengthMin((FloatArrayLengthValidator)self) → None :

Set the accepted minimum length of an array

getLength((FloatArrayLengthValidator)self) → int :

Returns the set fixed length

getMaxLength((FloatArrayLengthValidator)self) → int :

Returns the set maximum length

getMinLength((FloatArrayLengthValidator)self) → int :

Returns the set minimum length

hasLength((FloatArrayLengthValidator)self) → bool :

Returns true if a single length has been set

hasMaxLength((FloatArrayLengthValidator)self) → bool :

Returns true if a maximum length has been set

hasMinLength((FloatArrayLengthValidator)self) → bool :

Returns true if a minimum length has been set

setLength((FloatArrayLengthValidator)self, (int)length) → None :

Set the accepted length of an array

setLengthMax((FloatArrayLengthValidator)self, (int)maximum length) → None :

Set the accepted maximum length of an array

setLengthMin((FloatArrayLengthValidator)self, (int)minimum length) → None :

Set the accepted minimum length of an array