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

StringArrayLengthValidator

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

bases: mantid.kernel.IValidator

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

Clears accepted length of an array

clearLengthMax((StringArrayLengthValidator)self) → None :

Set the accepted maximum length of an array

clearLengthMin((StringArrayLengthValidator)self) → None :

Set the accepted minimum length of an array

getLength((StringArrayLengthValidator)self) → int :

Returns the set fixed length

getMaxLength((StringArrayLengthValidator)self) → int :

Returns the set maximum length

getMinLength((StringArrayLengthValidator)self) → int :

Returns the set minimum length

hasLength((StringArrayLengthValidator)self) → bool :

Returns true if a single length has been set

hasMaxLength((StringArrayLengthValidator)self) → bool :

Returns true if a maximum length has been set

hasMinLength((StringArrayLengthValidator)self) → bool :

Returns true if a minimum length has been set

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

Set the accepted length of an array

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

Set the accepted maximum length of an array

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

Set the accepted minimum length of an array