Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
datareps
FunctionParameter.cxx
Go to the documentation of this file.
1
/* -*- mode: c++ -*- */
2
14
#include "
FunctionParameter.h
"
15
16
namespace
hippodraw {
17
18
FunctionParameter::
19
FunctionParameter
(
const
std::string & name,
20
double
value,
21
double
error,
22
bool
fixed,
23
double
low_limit,
24
double
high_limit,
25
bool
has_low,
26
bool
has_high )
27
: m_name ( name ),
28
m_value ( value ),
29
m_error ( error ),
30
m_lower_limit ( low_limit ),
31
m_upper_limit ( high_limit ),
32
m_fixed ( fixed ),
33
m_has_lower ( has_low ),
34
m_has_upper ( has_high )
35
{
36
}
37
38
const
std::string &
39
FunctionParameter::
40
name
()
const
41
{
42
return
m_name
;
43
}
44
45
double
46
FunctionParameter::
47
value
()
const
48
{
49
return
m_value
;
50
}
51
52
double
53
FunctionParameter::
54
error
()
const
55
{
56
return
m_error
;
57
}
58
59
bool
60
FunctionParameter::
61
isFixed
()
const
62
{
63
return
m_fixed
;
64
}
65
66
double
67
FunctionParameter::
68
lowerLimit
()
const
69
{
70
return
m_lower_limit
;
71
}
72
73
double
74
FunctionParameter::
75
upperLimit
()
const
76
{
77
return
m_upper_limit
;
78
}
79
80
bool
81
FunctionParameter::
82
hasLowerLimit
()
const
83
{
84
return
m_has_lower
;
85
}
86
87
88
bool
89
FunctionParameter::
90
hasUpperLimit
()
const
91
{
92
return
m_has_upper
;
93
}
94
95
}
// namespace hippodraw
96
Generated for HippoDraw Class Library by