Mantid
Loading...
Searching...
No Matches
MergeLogs.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
15class MANTID_ALGORITHMS_DLL MergeLogs final : public API::Algorithm {
16public:
18 const std::string name() const override { return "MergeLogs"; };
20 const std::string summary() const override { return "Merge 2 TimeSeries logs in a given Workspace."; }
22 int version() const override { return 1; };
23 const std::vector<std::string> seeAlso() const override { return {"AddTimeSeriesLog"}; }
25 const std::string category() const override { return "DataHandling\\Logs"; }
27 std::map<std::string, std::string> validateInputs() override;
28
29private:
30 void init() override;
31 void exec() override;
32 // Helper to validate TimeSeriesProperty
33 std::string validateTSP(std::string const &propertyName);
34};
35
36} // namespace Algorithms
37} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
Definition: MergeLogs.h:23
int version() const override
Algorithm's version for identification.
Definition: MergeLogs.h:22
const std::string name() const override
Algorithm's name for identification.
Definition: MergeLogs.h:18
const std::string summary() const override
Summary of algorithms purpose.
Definition: MergeLogs.h:20
const std::string category() const override
Algorithm's category for identification.
Definition: MergeLogs.h:25
Helper class which provides the Collimation Length for SANS instruments.