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

IntArrayLengthValidator

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

bases: mantid.kernel.IValidator

class mantid.kernel.IntArrayLengthValidator
clearLength((IntArrayLengthValidator)self) None :

Clears accepted length of an array

clearLengthMax((IntArrayLengthValidator)self) None :

Set the accepted maximum length of an array

clearLengthMin((IntArrayLengthValidator)self) None :

Set the accepted minimum length of an array

getLength((IntArrayLengthValidator)self) int :

Returns the set fixed length

getMaxLength((IntArrayLengthValidator)self) int :

Returns the set maximum length

getMinLength((IntArrayLengthValidator)self) int :

Returns the set minimum length

hasLength((IntArrayLengthValidator)self) bool :

Returns true if a single length has been set

hasMaxLength((IntArrayLengthValidator)self) bool :

Returns true if a maximum length has been set

hasMinLength((IntArrayLengthValidator)self) bool :

Returns true if a minimum length has been set

setLength((IntArrayLengthValidator)self, (int)length) None :

Set the accepted length of an array

setLengthMax((IntArrayLengthValidator)self, (int)maximum length) None :

Set the accepted maximum length of an array

setLengthMin((IntArrayLengthValidator)self, (int)minimum length) None :

Set the accepted minimum length of an array