Mantid
Loading...
Searching...
No Matches
RenameLog.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 "MantidDataHandling/DllConfig.h"
11
12namespace Mantid {
13namespace DataHandling {
14
19class MANTID_DATAHANDLING_DLL RenameLog final : public API::Algorithm {
20public:
22 const std::string name() const override { return "RenameLog"; };
24 const std::string summary() const override { return "Rename a TimeSeries log in a given Workspace."; }
25
27 int version() const override { return 1; };
28 const std::vector<std::string> seeAlso() const override { return {"RemoveLogs", "DeleteLog"}; }
30 const std::string category() const override { return "DataHandling\\Logs"; }
31
32private:
33 void init() override;
34
35 void exec() override;
36
38};
39
40} // namespace DataHandling
41} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
RenameLog : TODO: DESCRIPTION.
Definition: RenameLog.h:19
API::MatrixWorkspace_sptr matrixWS
Definition: RenameLog.h:37
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
Definition: RenameLog.h:28
int version() const override
Algorithm's version for identification.
Definition: RenameLog.h:27
const std::string summary() const override
Summary of algorithms purpose.
Definition: RenameLog.h:24
const std::string category() const override
Algorithm's category for identification.
Definition: RenameLog.h:30
const std::string name() const override
Algorithm's name for identification.
Definition: RenameLog.h:22
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.