25 const auto &sampleShape =
value->sample().getShape();
26 if (sampleShape.hasValidShape()) {
29 return "Invalid or no shape defined for sample";
double value
The value of the point.
Kernel::IValidator_sptr clone() const override
std::string checkValidity(const std::shared_ptr< ExperimentInfo > &value) const override
Checks that the workspace has a valid sample shape defined.
std::string getType() const
std::shared_ptr< IValidator > IValidator_sptr
A shared_ptr to an IValidator.