19const
std::
string HasUB::name()
const {
return "HasUB"; }
34 "Workspace to clear the UB from.");
36 "Indicates action performed, or predicted to perform if DryRun.");
#define DECLARE_ALGORITHM(classname)
void declareProperty(std::unique_ptr< Kernel::Property > p, const std::string &doc="") override
Add a property to the list of managed properties.
TypedValue getProperty(const std::string &name) const override
Get the value of a property.
A property class for workspaces.
bool doExecute(Mantid::API::Workspace *const ws, bool dryRun)
Perform the working for the algorithm.
HasUB : Determine if a workspace has a UB matrix on any of it's samples.
int version() const override
Algorithm's version for identification.
void init() override
Initialize the algorithm's properties.
const std::string category() const override
Algorithm's category for identification.
void exec() override
Execute the algorithm.
IPropertyManager * setProperty(const std::string &name, const T &value)
Templated method to set the value of a PropertyWithValue.
The concrete, templated class for properties.
std::shared_ptr< Workspace > Workspace_sptr
shared pointer to Mantid::API::Workspace
@ Input
An input workspace.
@ Output
An output workspace.