36 if (dimension->getMDFrame().name() !=
m_frameID)
37 return "MDWorkspace must be in the " +
m_frameID +
" frame.";
IPeaksWorkspace_sptr workspace
std::map< DeltaEMode::Type, std::string > index
MDFrameValidator(std::string frameName)
Constructor.
const std::string m_frameID
The name of the required frame.
std::string checkValidity(const IMDWorkspace_sptr &workspace) const override
Check for validity.
Kernel::IValidator_sptr clone() const override
Clone the current state.
std::shared_ptr< IMDWorkspace > IMDWorkspace_sptr
Shared pointer to the IMDWorkspace base class.
std::shared_ptr< IValidator > IValidator_sptr
A shared_ptr to an IValidator.