Mantid
Loading...
Searching...
No Matches
Comment.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2015 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
10#include "MantidAlgorithms/DllConfig.h"
11namespace Mantid {
12namespace Algorithms {
13
16class MANTID_ALGORITHMS_DLL Comment : public API::DistributedAlgorithm {
17public:
18 const std::string name() const override;
19 int version() const override;
20 const std::vector<std::string> seeAlso() const override { return {"RemoveWorkspaceHistory"}; }
21 const std::string category() const override;
22 const std::string summary() const override;
23
24private:
25 void init() override;
26 void exec() override;
27};
28
29} // namespace Algorithms
30} // namespace Mantid
Base class for algorithms that treat all spectra independently, i.e., we can trivially parallelize ov...
Comment : Adds a note into the history record of a workspace.
Definition: Comment.h:16
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
Definition: Comment.h:20
Helper class which provides the Collimation Length for SANS instruments.