Mantid
Loading...
Searching...
No Matches
RemoveLogs.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2007 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 "MantidAPI/Run.h"
14#include "MantidDataHandling/DllConfig.h"
15
16namespace Mantid {
17
18namespace DataHandling {
59class MANTID_DATAHANDLING_DLL RemoveLogs final : public API::Algorithm {
60public:
63
65 const std::string name() const override { return "RemoveLogs"; };
67 const std::string summary() const override { return "Remove logs from a workspace."; }
68
70 int version() const override { return 1; };
71 const std::vector<std::string> seeAlso() const override { return {"RenameLog", "DeleteLog"}; }
73 const std::string category() const override { return "DataHandling\\Logs"; }
74
75private:
77 void init() override;
78
80 void exec() override;
81};
82
83} // namespace DataHandling
84} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Load ISIS log file(s).
Definition: RemoveLogs.h:59
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
Definition: RemoveLogs.h:65
int version() const override
Algorithm's version for identification overriding a virtual method.
Definition: RemoveLogs.h:70
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: RemoveLogs.h:71
const std::string summary() const override
Summary of algorithms purpose.
Definition: RemoveLogs.h:67
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
Definition: RemoveLogs.h:73
RemoveLogs()
Default constructor.
Helper class which provides the Collimation Length for SANS instruments.