|
Mantid
|
NullValidator is a validator that doesn't. More...
#include <Kernel/NullValidator.h>
Public Member Functions | |
| IValidator_sptr | clone () const override |
| Make a copy of the present type of validator. More... | |
Public Member Functions inherited from Mantid::Kernel::IValidator | |
| virtual std::vector< std::string > | allowedValues () const |
| The set of allowed values that this validator may have, if a discrete set exists. More... | |
| virtual std::string | check (const boost::any &) const =0 |
| Checks the value based on the validator's rules. More... | |
| virtual IValidator_sptr | clone () const =0 |
| Make a copy of the present type of validator. More... | |
| virtual std::string | getValueForAlias (const std::string &alias) const |
| Implement this method for validators which wish to support aliasing for alloeed values. More... | |
| virtual bool | isMultipleSelectionAllowed () |
| Is Multiple Selection Allowed. More... | |
| std::string | isValid (const char *value) const |
| Deal with a C-style string by first converting it to a std::string so that boost::any can deal with it, calls isValid(std::string) More... | |
| template<typename TYPE > | |
| std::string | isValid (const TYPE &value) const |
| Calls the validator. More... | |
| IValidator ()=default | |
| Constructor. More... | |
| virtual | ~IValidator ()=default |
| virtual Destructor More... | |
Private Member Functions | |
| std::string | check (const boost::any &) const override |
| Always returns valid, that is "". More... | |
NullValidator is a validator that doesn't.
Definition at line 20 of file NullValidator.h.
|
overrideprivatevirtual |
Always returns valid, that is "".
Implements Mantid::Kernel::IValidator.
Definition at line 16 of file NullValidator.cpp.
|
overridevirtual |
Make a copy of the present type of validator.
Implements Mantid::Kernel::IValidator.
Definition at line 11 of file NullValidator.cpp.