<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.h</h1><a href="FunctionParameter_8h.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">#ifndef _FunctionParameter_H_</span> <a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _FunctionParameter_H_</span> <a name="l00016"></a>00016 <span class="preprocessor"></span> <a name="l00017"></a>00017 <span class="preprocessor">#include "<a class="code" href="libhippo_8h.html">pattern/libhippo.h</a>"</span> <a name="l00018"></a>00018 <a name="l00019"></a>00019 <span class="preprocessor">#include <string></span> <a name="l00020"></a>00020 <a name="l00021"></a>00021 <span class="keyword">namespace </span>hippodraw { <a name="l00022"></a>00022 <a name="l00031"></a><a class="code" href="classhippodraw_1_1FunctionParameter.html">00031</a> <span class="keyword">class </span><a class="code" href="libhippo_8h.html#a480024fd54849c743866874550153711">MDL_HIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1FunctionParameter.html" title="A class to collect function parameters from a FunctionBase object but also the constraints...">FunctionParameter</a> <a name="l00032"></a>00032 { <a name="l00033"></a>00033 <a name="l00034"></a>00034 <span class="keyword">private</span>: <a name="l00035"></a>00035 <a name="l00038"></a><a class="code" href="classhippodraw_1_1FunctionParameter.html#adb41893ba19e889e56c559f25fc1a68a">00038</a> std::string m_name; <a name="l00039"></a>00039 <a name="l00042"></a><a class="code" href="classhippodraw_1_1FunctionParameter.html#af571e2fb313a55aae59a77a9d9324286">00042</a> <span class="keywordtype">double</span> m_value; <a name="l00043"></a>00043 <a name="l00046"></a><a class="code" href="classhippodraw_1_1FunctionParameter.html#ab3fd2fc9522b3bd62a1e20898e89d69f">00046</a> <span class="keywordtype">double</span> m_error; <a name="l00047"></a>00047 <a name="l00050"></a><a class="code" href="classhippodraw_1_1FunctionParameter.html#abef778c64c027da2e3aef968baa53f68">00050</a> <span class="keywordtype">double</span> m_lower_limit; <a name="l00051"></a>00051 <a name="l00054"></a><a class="code" href="classhippodraw_1_1FunctionParameter.html#ab311a71982fd6ea8360f6ef588702647">00054</a> <span class="keywordtype">double</span> m_upper_limit; <a name="l00055"></a>00055 <a name="l00058"></a><a class="code" href="classhippodraw_1_1FunctionParameter.html#af53d1a69078732275b213f89d8afb220">00058</a> <span class="keywordtype">bool</span> m_fixed; <a name="l00059"></a>00059 <a name="l00062"></a><a class="code" href="classhippodraw_1_1FunctionParameter.html#af82b8f083c1a64ae026126bb01c77758">00062</a> <span class="keywordtype">bool</span> m_has_lower; <a name="l00065"></a><a class="code" href="classhippodraw_1_1FunctionParameter.html#a6de7ea509f4dc8185a86da74bd180a12">00065</a> <span class="keywordtype">bool</span> m_has_upper; <a name="l00066"></a>00066 <a name="l00067"></a>00067 <span class="keyword">public</span>: <a name="l00068"></a>00068 <a name="l00071"></a>00071 <a class="code" href="classhippodraw_1_1FunctionParameter.html" title="A class to collect function parameters from a FunctionBase object but also the constraints...">FunctionParameter</a> ( <span class="keyword">const</span> std::string & name, <a name="l00072"></a>00072 <span class="keywordtype">double</span> value, <a name="l00073"></a>00073 <span class="keywordtype">double</span> error, <a name="l00074"></a>00074 <span class="keywordtype">bool</span> fixed, <a name="l00075"></a>00075 <span class="keywordtype">double</span> low_limit, <a name="l00076"></a>00076 <span class="keywordtype">double</span> high_limit, <a name="l00077"></a>00077 <span class="keywordtype">bool</span> has_low, <a name="l00078"></a>00078 <span class="keywordtype">bool</span> has_high ); <a name="l00079"></a>00079 <a name="l00080"></a>00080 <span class="comment">/* Taking default copy constructor.</span> <a name="l00081"></a>00081 <span class="comment"> * FunctionParameter ( const FunctionParameter & );</span> <a name="l00082"></a>00082 <span class="comment"> */</span> <a name="l00083"></a>00083 <a name="l00086"></a>00086 <span class="keyword">const</span> std::string & name () <span class="keyword">const</span>; <a name="l00087"></a>00087 <a name="l00090"></a>00090 <span class="keywordtype">double</span> value () <span class="keyword">const</span>; <a name="l00091"></a>00091 <a name="l00094"></a>00094 <span class="keywordtype">double</span> error () <span class="keyword">const</span>; <a name="l00095"></a>00095 <a name="l00098"></a>00098 <span class="keywordtype">bool</span> isFixed () <span class="keyword">const</span>; <a name="l00099"></a>00099 <a name="l00102"></a>00102 <span class="keywordtype">double</span> lowerLimit () <span class="keyword">const</span>; <a name="l00103"></a>00103 <a name="l00106"></a>00106 <span class="keywordtype">double</span> upperLimit () <span class="keyword">const</span>; <a name="l00107"></a>00107 <a name="l00110"></a>00110 <span class="keywordtype">bool</span> hasLowerLimit () <span class="keyword">const</span>; <a name="l00111"></a>00111 <a name="l00114"></a>00114 <span class="keywordtype">bool</span> hasUpperLimit () <span class="keyword">const</span>; <a name="l00115"></a>00115 <a name="l00116"></a>00116 }; <a name="l00117"></a>00117 <a name="l00118"></a>00118 } <span class="comment">// namespace hippodraw</span> <a name="l00119"></a>00119 <a name="l00120"></a>00120 <span class="preprocessor">#endif // _FunctionParameter_H_</span> </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>