<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>HippoDraw Class Library</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> <link rel="shortcut icon" href="hippoApp.ico"> </head><body> <!-- Generated by Doxygen 1.6.2 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="dir_390cfd4b32d48f53301526c593d2b8f8.html">datareps</a> </div> </div> <div class="contents"> <h1>FunctionParameter.cxx</h1><a href="FunctionParameter_8cxx.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* -*- mode: c++ -*- */</span> <a name="l00002"></a>00002 <a name="l00014"></a>00014 <span class="preprocessor">#include "<a class="code" href="FunctionParameter_8h.html" title="FunctionParameter class interface.">FunctionParameter.h</a>"</span> <a name="l00015"></a>00015 <a name="l00016"></a>00016 <span class="keyword">namespace </span>hippodraw { <a name="l00017"></a>00017 <a name="l00018"></a>00018 <a class="code" href="classhippodraw_1_1FunctionParameter.html#aafb39d550197b083cf20f09958bcd1e7" title="The constructor.">FunctionParameter::</a> <a name="l00019"></a><a class="code" href="classhippodraw_1_1FunctionParameter.html#aafb39d550197b083cf20f09958bcd1e7">00019</a> <a class="code" href="classhippodraw_1_1FunctionParameter.html#aafb39d550197b083cf20f09958bcd1e7" title="The constructor.">FunctionParameter</a> ( <span class="keyword">const</span> std::string & name, <a name="l00020"></a>00020 <span class="keywordtype">double</span> value, <a name="l00021"></a>00021 <span class="keywordtype">double</span> error, <a name="l00022"></a>00022 <span class="keywordtype">bool</span> fixed, <a name="l00023"></a>00023 <span class="keywordtype">double</span> low_limit, <a name="l00024"></a>00024 <span class="keywordtype">double</span> high_limit, <a name="l00025"></a>00025 <span class="keywordtype">bool</span> has_low, <a name="l00026"></a>00026 <span class="keywordtype">bool</span> has_high ) <a name="l00027"></a>00027 : m_name ( name ), <a name="l00028"></a>00028 m_value ( value ), <a name="l00029"></a>00029 m_error ( error ), <a name="l00030"></a>00030 m_lower_limit ( low_limit ), <a name="l00031"></a>00031 m_upper_limit ( high_limit ), <a name="l00032"></a>00032 m_fixed ( fixed ), <a name="l00033"></a>00033 m_has_lower ( has_low ), <a name="l00034"></a>00034 m_has_upper ( has_high ) <a name="l00035"></a>00035 { <a name="l00036"></a>00036 } <a name="l00037"></a>00037 <a name="l00038"></a>00038 <span class="keyword">const</span> std::string & <a name="l00039"></a>00039 <a class="code" href="classhippodraw_1_1FunctionParameter.html#af8370604529de0f829b8424e1288a104" title="Returns the name of the parameter.">FunctionParameter::</a> <a name="l00040"></a><a class="code" href="classhippodraw_1_1FunctionParameter.html#af8370604529de0f829b8424e1288a104">00040</a> <a class="code" href="classhippodraw_1_1FunctionParameter.html#af8370604529de0f829b8424e1288a104" title="Returns the name of the parameter.">name</a> ()<span class="keyword"> const</span> <a name="l00041"></a>00041 <span class="keyword"></span>{ <a name="l00042"></a>00042 <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1FunctionParameter.html#adb41893ba19e889e56c559f25fc1a68a" title="The name of the parameter.">m_name</a>; <a name="l00043"></a>00043 } <a name="l00044"></a>00044 <a name="l00045"></a>00045 <span class="keywordtype">double</span> <a name="l00046"></a>00046 <a class="code" href="classhippodraw_1_1FunctionParameter.html#a324b14b7506c6e4f47912161956974ed" title="Returns the value of the parameter.">FunctionParameter::</a> <a name="l00047"></a><a class="code" href="classhippodraw_1_1FunctionParameter.html#a324b14b7506c6e4f47912161956974ed">00047</a> <a class="code" href="classhippodraw_1_1FunctionParameter.html#a324b14b7506c6e4f47912161956974ed" title="Returns the value of the parameter.">value</a> ()<span class="keyword"> const</span> <a name="l00048"></a>00048 <span class="keyword"></span>{ <a name="l00049"></a>00049 <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1FunctionParameter.html#af571e2fb313a55aae59a77a9d9324286" title="The value of the parameter.">m_value</a>; <a name="l00050"></a>00050 } <a name="l00051"></a>00051 <a name="l00052"></a>00052 <span class="keywordtype">double</span> <a name="l00053"></a>00053 <a class="code" href="classhippodraw_1_1FunctionParameter.html#ae75852c9d9bf937552ee5a1bafea818f" title="Returns the error on the value of the parameter.">FunctionParameter::</a> <a name="l00054"></a><a class="code" href="classhippodraw_1_1FunctionParameter.html#ae75852c9d9bf937552ee5a1bafea818f">00054</a> <a class="code" href="classhippodraw_1_1FunctionParameter.html#ae75852c9d9bf937552ee5a1bafea818f" title="Returns the error on the value of the parameter.">error</a> ()<span class="keyword"> const</span> <a name="l00055"></a>00055 <span class="keyword"></span>{ <a name="l00056"></a>00056 <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1FunctionParameter.html#ab3fd2fc9522b3bd62a1e20898e89d69f" title="The error on the value after fitting.">m_error</a>; <a name="l00057"></a>00057 } <a name="l00058"></a>00058 <a name="l00059"></a>00059 <span class="keywordtype">bool</span> <a name="l00060"></a>00060 <a class="code" href="classhippodraw_1_1FunctionParameter.html#af5e7d3badddf2ec07159f1d83426d4c1" title="Returns the fixed flag.">FunctionParameter::</a> <a name="l00061"></a><a class="code" href="classhippodraw_1_1FunctionParameter.html#af5e7d3badddf2ec07159f1d83426d4c1">00061</a> <a class="code" href="classhippodraw_1_1FunctionParameter.html#af5e7d3badddf2ec07159f1d83426d4c1" title="Returns the fixed flag.">isFixed</a> ()<span class="keyword"> const</span> <a name="l00062"></a>00062 <span class="keyword"></span>{ <a name="l00063"></a>00063 <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1FunctionParameter.html#af53d1a69078732275b213f89d8afb220" title="The fixed flag used by the minimizer.">m_fixed</a>; <a name="l00064"></a>00064 } <a name="l00065"></a>00065 <a name="l00066"></a>00066 <span class="keywordtype">double</span> <a name="l00067"></a>00067 <a class="code" href="classhippodraw_1_1FunctionParameter.html#a55104c31abce867d9ef783b149a60f12" title="Returns the lower limit, if any on the parameter.">FunctionParameter::</a> <a name="l00068"></a><a class="code" href="classhippodraw_1_1FunctionParameter.html#a55104c31abce867d9ef783b149a60f12">00068</a> <a class="code" href="classhippodraw_1_1FunctionParameter.html#a55104c31abce867d9ef783b149a60f12" title="Returns the lower limit, if any on the parameter.">lowerLimit</a> ()<span class="keyword"> const</span> <a name="l00069"></a>00069 <span class="keyword"></span>{ <a name="l00070"></a>00070 <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1FunctionParameter.html#abef778c64c027da2e3aef968baa53f68" title="The lower limit allowed during fitting.">m_lower_limit</a>; <a name="l00071"></a>00071 } <a name="l00072"></a>00072 <a name="l00073"></a>00073 <span class="keywordtype">double</span> <a name="l00074"></a>00074 <a class="code" href="classhippodraw_1_1FunctionParameter.html#a24dafd435dd5ee75f0ac077d8766cada" title="Returns the upper limit, if any on the parameter.">FunctionParameter::</a> <a name="l00075"></a><a class="code" href="classhippodraw_1_1FunctionParameter.html#a24dafd435dd5ee75f0ac077d8766cada">00075</a> <a class="code" href="classhippodraw_1_1FunctionParameter.html#a24dafd435dd5ee75f0ac077d8766cada" title="Returns the upper limit, if any on the parameter.">upperLimit</a> ()<span class="keyword"> const</span> <a name="l00076"></a>00076 <span class="keyword"></span>{ <a name="l00077"></a>00077 <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1FunctionParameter.html#ab311a71982fd6ea8360f6ef588702647" title="the upper limit allowed during fitting.">m_upper_limit</a>; <a name="l00078"></a>00078 } <a name="l00079"></a>00079 <a name="l00080"></a>00080 <span class="keywordtype">bool</span> <a name="l00081"></a>00081 <a class="code" href="classhippodraw_1_1FunctionParameter.html#ac856e034e6c58858454869c2469c0974" title="Returns true if lower limit on parameters being used.">FunctionParameter::</a> <a name="l00082"></a><a class="code" href="classhippodraw_1_1FunctionParameter.html#ac856e034e6c58858454869c2469c0974">00082</a> <a class="code" href="classhippodraw_1_1FunctionParameter.html#ac856e034e6c58858454869c2469c0974" title="Returns true if lower limit on parameters being used.">hasLowerLimit</a> ()<span class="keyword"> const</span> <a name="l00083"></a>00083 <span class="keyword"></span>{ <a name="l00084"></a>00084 <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1FunctionParameter.html#af82b8f083c1a64ae026126bb01c77758" title="The has low limit flag.">m_has_lower</a>; <a name="l00085"></a>00085 } <a name="l00086"></a>00086 <a name="l00087"></a>00087 <a name="l00088"></a>00088 <span class="keywordtype">bool</span> <a name="l00089"></a>00089 <a class="code" href="classhippodraw_1_1FunctionParameter.html#a7a178cf859b5f083f31ba5ea537378b1" title="Returns true if upper limit on parameters being used.">FunctionParameter::</a> <a name="l00090"></a><a class="code" href="classhippodraw_1_1FunctionParameter.html#a7a178cf859b5f083f31ba5ea537378b1">00090</a> <a class="code" href="classhippodraw_1_1FunctionParameter.html#a7a178cf859b5f083f31ba5ea537378b1" title="Returns true if upper limit on parameters being used.">hasUpperLimit</a> ()<span class="keyword"> const</span> <a name="l00091"></a>00091 <span class="keyword"></span>{ <a name="l00092"></a>00092 <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1FunctionParameter.html#a6de7ea509f4dc8185a86da74bd180a12" title="The has uppper limit flag.">m_has_upper</a>; <a name="l00093"></a>00093 } <a name="l00094"></a>00094 <a name="l00095"></a>00095 } <span class="comment">// namespace hippodraw</span> <a name="l00096"></a>00096 </pre></div></div> <hr size="1"><address style="align: right;"><small> Generated for HippoDraw Class Library by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0> </a> </small></address> </body> </html>