Mantid
|
Validator to check the format of a vector providing the rebin parameters to an algorithm. More...
#include <RebinParamsValidator.h>
Public Member Functions | |
IValidator_sptr | clone () const override |
RebinParamsValidator (bool allowEmpty=false, bool allowRange=false) | |
Private Member Functions | |
std::string | checkValidity (const std::vector< double > &value) const override |
Check on the inputed bin boundaries and widths. More... | |
Private Attributes | |
bool | m_allowEmpty |
bool | m_allowRange |
Validator to check the format of a vector providing the rebin parameters to an algorithm.
Definition at line 19 of file RebinParamsValidator.h.
Mantid::Kernel::RebinParamsValidator::RebinParamsValidator | ( | bool | allowEmpty = false , |
bool | allowRange = false |
||
) |
Definition at line 11 of file RebinParamsValidator.cpp.
|
overrideprivate |
Check on the inputed bin boundaries and widths.
value | :: The parameter array to check |
Definition at line 20 of file RebinParamsValidator.cpp.
References m_allowEmpty, m_allowRange, and value.
|
override |
Definition at line 14 of file RebinParamsValidator.cpp.
|
private |
Definition at line 26 of file RebinParamsValidator.h.
Referenced by checkValidity().
|
private |
Definition at line 27 of file RebinParamsValidator.h.
Referenced by checkValidity().