Mantid
Loading...
Searching...
No Matches
InvertMask.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2012 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
19class MANTID_ALGORITHMS_DLL InvertMask final : public API::Algorithm {
20public:
22 const std::string name() const override { return "InvertMask"; };
24 const std::string summary() const override { return "This algorithm inverts every mask bit in a MaskWorkspace."; }
25
27 int version() const override { return 1; };
28 const std::vector<std::string> seeAlso() const override { return {"BinaryOperateMasks", "MaskDetectors"}; }
30 const std::string category() const override { return "Transforms\\Masking"; }
31
32private:
33 // Implement abstract Algorithm methods
34 void init() override;
35 // Implement abstract Algorithm methods
36 void exec() override;
37};
38
39} // namespace Algorithms
40} // namespace Mantid
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:85
InvertMask : TODO: DESCRIPTION.
Definition: InvertMask.h:19
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
Definition: InvertMask.h:28
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
Definition: InvertMask.h:22
int version() const override
Algorithm's version for identification overriding a virtual method.
Definition: InvertMask.h:27
const std::string summary() const override
Summary of algorithms purpose.
Definition: InvertMask.h:24
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
Definition: InvertMask.h:30
Helper class which provides the Collimation Length for SANS instruments.