Mantid
Loading...
Searching...
No Matches
DeprecatedAlias.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2021 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 "MantidAPI/DllConfig.h"
12#include <string>
13
14namespace Mantid {
15namespace API {
16
33class MANTID_API_DLL DeprecatedAlias {
34public:
37 std::string deprecationMessage(const IAlgorithm *);
38 void setDeprecationDate(const std::string &date);
39
40private:
42 std::string m_deprecationDate;
43};
44
45} // namespace API
46} // namespace Mantid
DeprecatedAlias : Class for making algorithm with deprecated names (aliases).
std::string m_deprecationDate
Deprecation date.
virtual ~DeprecatedAlias()
Destructor to ensure the compiler is happy.
IAlgorithm is the interface implemented by the Algorithm base class.
Definition: IAlgorithm.h:45
Helper class which provides the Collimation Length for SANS instruments.