Mantid
|
Validator to check that a property is not left empty. More...
#include <Kernel/MandatoryValidator.h>
Public Member Functions | |
IValidator_sptr | clone () const override |
Private Member Functions | |
std::string | checkValidity (const TYPE &value) const override |
Check if a value has been provided. More... | |
Validator to check that a property is not left empty.
MandatoryValidator is a validator that requires a string to be set to a non-blank value or a vector (i.e. ArrayProperty) is not empty.
Definition at line 43 of file MandatoryValidator.h.
|
inlineoverrideprivate |
Check if a value has been provided.
value | :: the string to test |
Definition at line 53 of file MandatoryValidator.h.
References value.
|
inlineoverride |
Definition at line 45 of file MandatoryValidator.h.