Mantid
Loading...
Searching...
No Matches
AlgorithmRuntimeProps.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
12
13namespace MantidQt::API {
16public:
21
22 bool operator==(const Mantid::Kernel::IPropertyManager &other) override = delete;
25
26 TypedValue getProperty(const std::string &name) const noexcept override;
27 void setPropertyValue(const std::string &name, const std::string &value) override;
28};
29
30} // namespace MantidQt::API
#define EXPORT_OPT_MANTIDQT_COMMON
Definition: DllOption.h:15
double value
The value of the point.
Definition: FitMW.cpp:51
AlgorithmRuntimeProps(const AlgorithmRuntimeProps &)=default
bool operator==(const Mantid::Kernel::IPropertyManager &other) override=delete
AlgorithmRuntimeProps(AlgorithmRuntimeProps &&)=default
Interface to PropertyManager.
Property manager helper class.
std::string getPropertyValue(const std::string &name) const override
Get the value of a property as a string.
std::vector< std::string > getDeclaredPropertyNames() const noexcept override
Return the list of declared property names.
Utility class that enables the getProperty() method to effectively be templated on the return type.