Mantid
Loading...
Searching...
No Matches
EditInstrumentGeometry.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2011 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"
11
12namespace Mantid {
13namespace Algorithms {
14
20class MANTID_ALGORITHMS_DLL EditInstrumentGeometry final : public API::Algorithm {
21public:
22 const std::string name() const override;
24 const std::string summary() const override {
25 return "Adds a new instrument or edits an existing one; "
26 "currently works in an overwrite mode only.";
27 }
28
30 const std::string category() const override;
32 int version() const override;
34 std::map<std::string, std::string> validateInputs() override;
35
36private:
38 void init() override;
40 void exec() override;
41};
42
43} // namespace Algorithms
44} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
EditInstrumentGeometry : TODO: DESCRIPTION.
const std::string summary() const override
Summary of algorithms purpose.
Helper class which provides the Collimation Length for SANS instruments.