Mantid
Loading...
Searching...
No Matches
UnGroupWorkspace.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2009 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9//----------------------------------------------------------------------
10// Includes
11//----------------------------------------------------------------------
12#include "MantidAPI/Algorithm.h"
13#include "MantidAlgorithms/DllConfig.h"
14
15namespace Mantid {
16namespace Algorithms {
27class MANTID_ALGORITHMS_DLL UnGroupWorkspace final : public API::Algorithm {
28public:
30 const std::string name() const override { return "UnGroupWorkspace"; }
32 const std::string summary() const override { return "Takes a group workspace as input and ungroups the workspace."; }
33
35 int version() const override { return 1; }
36 const std::vector<std::string> seeAlso() const override { return {"GroupWorkspaces"}; }
38 const std::string category() const override { return "Transforms\\Grouping;Utility\\Workspaces"; }
39
40private:
42 void init() override;
44 void exec() override;
45};
46
47} // namespace Algorithms
48} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Takes the name of a group workspace as input and ungroups the workspaces.
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.
int version() const override
Algorithm's version for identification overriding a virtual method.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
Helper class which provides the Collimation Length for SANS instruments.