FunctionParameter.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _FunctionParameter_H_
15 #define _FunctionParameter_H_
16 
17 #include "pattern/libhippo.h"
18 
19 #include <string>
20 
21 namespace hippodraw {
22 
32 {
33 
34 private:
35 
38  std::string m_name;
39 
42  double m_value;
43 
46  double m_error;
47 
50  double m_lower_limit;
51 
54  double m_upper_limit;
55 
58  bool m_fixed;
59 
66 
67 public:
68 
71  FunctionParameter ( const std::string & name,
72  double value,
73  double error,
74  bool fixed,
75  double low_limit,
76  double high_limit,
77  bool has_low,
78  bool has_high );
79 
80  /* Taking default copy constructor.
81  * FunctionParameter ( const FunctionParameter & );
82  */
83 
86  const std::string & name () const;
87 
90  double value () const;
91 
94  double error () const;
95 
98  bool isFixed () const;
99 
102  double lowerLimit () const;
103 
106  double upperLimit () const;
107 
110  bool hasLowerLimit () const;
111 
114  bool hasUpperLimit () const;
115 
116 };
117 
118 } // namespace hippodraw
119 
120 #endif // _FunctionParameter_H_

Generated for HippoDraw Class Library by doxygen