SourceXtractorPlusPlus
0.15
Please provide a description of the project.
ModelFitting
src
lib
Models
ConstantModel.cpp
Go to the documentation of this file.
1
23
#include "
ModelFitting/Models/ConstantModel.h
"
24
25
namespace
ModelFitting
{
26
27
ConstantModel::ConstantModel
(
std::shared_ptr<BasicParameter>
value)
28
: m_value {value} {
29
}
30
31
ConstantModel::ConstantModel
(
ConstantModel
&& other)
32
: m_value {other.m_value} {
33
}
34
35
ConstantModel::~ConstantModel
() =
default
;
36
37
double
ConstantModel::getValue
()
const
{
38
return
m_value
->getValue();
39
}
40
41
}
// end of namespace ModelFitting
std::shared_ptr
STL class.
ModelFitting::ConstantModel
Definition:
ConstantModel.h:30
ModelFitting::ConstantModel::ConstantModel
ConstantModel(std::shared_ptr< BasicParameter > value)
Definition:
ConstantModel.cpp:27
ModelFitting::ConstantModel::getValue
double getValue() const
Definition:
ConstantModel.cpp:37
ModelFitting::ConstantModel::m_value
std::shared_ptr< BasicParameter > m_value
Definition:
ConstantModel.h:43
ConstantModel.h
ModelFitting::ConstantModel::~ConstantModel
virtual ~ConstantModel()
ModelFitting
Definition:
AsinhChiSquareComparator.h:30
Generated by
1.8.20