Mantid
Loading...
Searching...
No Matches
DeleteTableRows.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 "MantidDataHandling/DllConfig.h"
14
15namespace Mantid {
16namespace DataHandling {
17
24class MANTID_DATAHANDLING_DLL DeleteTableRows final : public API::Algorithm {
25public:
29 const std::string name() const override { return "DeleteTableRows"; }
31 const std::string summary() const override { return "Deletes rows from a TableWorkspace."; }
32
34 int version() const override { return 1; }
35 const std::vector<std::string> seeAlso() const override { return {"CreateEmptyTableWorkspace"}; }
37 const std::string category() const override { return "Utility\\Workspaces"; }
38
39private:
41 void init() override;
43 void exec() override;
44};
45
46} // namespace DataHandling
47} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
Deletes a row from a TableWorkspace.
int version() const override
Algorithm's version for identification overriding a virtual method.
const std::string category() const override
Category.
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
const std::string summary() const override
Summary of algorithms purpose.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso (these are not validated) algorithms related to this algorithm....
Helper class which provides the Collimation Length for SANS instruments.