12#include "MantidAPI/DllConfig.h"
29 void setParameter(
const double &
value,
bool isExplicitlySet =
true);
30 double getParameter()
const;
31 bool isDefault()
const;
32 bool isParameterOf(
const IFunction *fun)
const;
35 std::size_t getLocalIndex()
const;
36 std::size_t parameterIndex()
const;
37 std::string parameterName()
const;
41 void reset(
IFunction *fun, std::size_t
index,
bool isDefault =
false);
double value
The value of the point.
std::map< DeltaEMode::Type, std::string > index
This is an interface to a fitting function - a semi-abstarct class.
A reference to a parameter in a function.
IFunction * m_function
Function that together with m_index uniquely identify the parameter.
bool m_isDefault
Flag to mark as default the value of an object associated with this reference: a tie or a constraint.
IFunction * m_owner
Function-owner of this reference.
std::size_t m_index
Index of the parameter in m_function.
virtual ~ParameterReference()=default
Helper class which provides the Collimation Length for SANS instruments.