FunctionParameter.cxx

Go to the documentation of this file.
00001 /* -*- mode: c++ -*- */
00002 
00014 #include "FunctionParameter.h"
00015 
00016 namespace hippodraw {
00017 
00018 FunctionParameter::
00019 FunctionParameter ( const std::string & name,
00020                     double value,
00021                     double error,
00022                     bool fixed,
00023                     double low_limit,
00024                     double high_limit,
00025                     bool has_low,
00026                     bool has_high )
00027   : m_name ( name ),
00028     m_value ( value ),
00029     m_error ( error ),
00030     m_lower_limit ( low_limit ),
00031     m_upper_limit ( high_limit ),
00032     m_fixed ( fixed ),
00033     m_has_lower ( has_low ),
00034     m_has_upper ( has_high )
00035 {
00036 }
00037 
00038 const std::string & 
00039 FunctionParameter::
00040 name () const
00041 {
00042   return m_name;
00043 }
00044 
00045 double 
00046 FunctionParameter::
00047 value () const
00048 {
00049   return m_value;
00050 }
00051 
00052 double 
00053 FunctionParameter::
00054 error () const
00055 {
00056   return m_error;
00057 }
00058 
00059 bool 
00060 FunctionParameter::
00061 isFixed () const
00062 {
00063   return m_fixed;
00064 }
00065 
00066 double
00067 FunctionParameter::
00068 lowerLimit () const
00069 {
00070   return m_lower_limit;
00071 }
00072 
00073 double 
00074 FunctionParameter::
00075 upperLimit () const
00076 {
00077   return m_upper_limit;
00078 }
00079 
00080 bool 
00081 FunctionParameter::
00082 hasLowerLimit () const
00083 {
00084   return m_has_lower;
00085 }
00086 
00087 
00088 bool 
00089 FunctionParameter::
00090 hasUpperLimit () const
00091 {
00092   return m_has_upper;
00093 }
00094 
00095 } // namespace hippodraw
00096 

Generated for HippoDraw Class Library by doxygen