36 return "A workspace with axis being Spectra Number is required here.";
double value
The value of the point.
Class to represent the axis of a workspace.
virtual bool isSpectra() const
Returns true is the axis is a Spectra axis.
SpectraAxisValidator(const int &axisNumber=1)
Class constructor with parameter.
Kernel::IValidator_sptr clone() const override
Clone the current validator.
std::string checkValidity(const MatrixWorkspace_sptr &value) const override
Check for validity.
const int m_axisNumber
Axis number to check on, defaults to 1.
Exception for index errors.
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
std::shared_ptr< IValidator > IValidator_sptr
A shared_ptr to an IValidator.
std::string to_string(const wide_integer< Bits, Signed > &n)