12#include "MantidAlgorithms/DllConfig.h"
29 const std::string
name()
const override {
return "GroupWorkspaces"; }
31 const std::string
summary()
const override {
32 return "Takes workspaces as input and groups similar workspaces together.";
36 int version()
const override {
return 1; }
37 const std::vector<std::string>
seeAlso()
const override {
return {
"UnGroupWorkspace"}; }
39 const std::string
category()
const override {
return "Transforms\\Grouping;Utility\\Workspaces"; }
41 std::map<std::string, std::string> validateInputs()
override;
44 Parallel::ExecutionMode
45 getParallelExecutionMode(
const std::map<std::string, Parallel::StorageMode> &storageModes)
const override;
53 void addToGroup(
const std::vector<std::string> &names);
58 void addToGroup(
const std::string &globExpression);
IPeaksWorkspace_sptr workspace
Base class from which all concrete algorithm classes should be derived.
Takes workspaces as input and groups the workspaces.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
const std::string summary() const override
Summary of algorithms purpose.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
API::WorkspaceGroup_sptr m_group
A pointer to the new group.
int version() const override
Algorithm's version for identification overriding a virtual method.
std::shared_ptr< WorkspaceGroup > WorkspaceGroup_sptr
shared pointer to Mantid::API::WorkspaceGroup
std::shared_ptr< Workspace > Workspace_sptr
shared pointer to Mantid::API::Workspace
Helper class which provides the Collimation Length for SANS instruments.