21 return std::make_shared<OrientedLatticeValidator>(*
this);
30 if (!info->sample().hasOrientedLattice()) {
31 return "Workspace must have a sample with an orientation matrix defined.";
Kernel::IValidator_sptr clone() const override
Clone the current state.
std::string checkValidity(const ExperimentInfo_sptr &workspace) const override
Check for validity.
std::shared_ptr< ExperimentInfo > ExperimentInfo_sptr
Shared pointer to ExperimentInfo.
std::shared_ptr< IValidator > IValidator_sptr
A shared_ptr to an IValidator.