15#include <boost/optional.hpp>
19namespace MantidWidgets {
48 if constexpr (std::is_same_v<T, double>) {
49 setDoubleAttribute(attributeName,
value);
50 }
else if constexpr (std::is_same_v<T, int>) {
51 setIntAttribute(attributeName,
value);
52 }
else if constexpr (std::is_same_v<T, QString>) {
53 setStringAttribute(attributeName,
value);
54 }
else if constexpr (std::is_same_v<T, bool>) {
55 setBooleanAttribute(attributeName,
value);
56 }
else if constexpr (std::is_same_v<T, std::vector<double>>) {
57 setVectorAttribute(attributeName,
value);
#define EXPORT_OPT_MANTIDQT_COMMON
double value
The value of the point.
Attribute is a non-fitting parameter.
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
std::shared_ptr< IFunction > IFunction_sptr
shared pointer to the function base class