Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > eebc325dc36bd6e3b09b9b45133e42f8 > files > 711

HippoDraw-devel-docs-1.21.1-10.fc13.i686.rpm

<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&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;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&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_390cfd4b32d48f53301526c593d2b8f8.html">datareps</a>
  </div>
</div>
<div class="contents">
<h1>CompositeFunctionRep.h</h1><a href="CompositeFunctionRep_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 _CompositeFunctionRep_H_</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _CompositeFunctionRep_H_</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &quot;<a class="code" href="FunctionRep_8h.html" title="hippodraw::FunctionRep class interface">FunctionRep.h</a>&quot;</span>
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 <span class="keyword">class </span>FunctionParameter;
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 <span class="keyword">namespace </span>hippodraw {
<a name="l00023"></a>00023 
<a name="l00028"></a><a class="code" href="classhippodraw_1_1CompositeFunctionRep.html">00028</a> <span class="keyword">class </span><a class="code" href="libhippo_8h.html#a480024fd54849c743866874550153711">MDL_HIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1CompositeFunctionRep.html" title="A Derived class of FunctionRep which hold a composite function.">CompositeFunctionRep</a> : <span class="keyword">public</span> <a class="code" href="classhippodraw_1_1FunctionRep.html" title="A derived class of DataRep which is a base class for displaying a function.">FunctionRep</a>
<a name="l00029"></a>00029 {
<a name="l00030"></a>00030 
<a name="l00031"></a>00031 <span class="keyword">private</span>:
<a name="l00032"></a>00032 
<a name="l00035"></a><a class="code" href="classhippodraw_1_1CompositeFunctionRep.html#a3604dbba8ec91251278e8647e4a01a2e">00035</a>   <span class="keyword">typedef</span> std::vector &lt; FunctionRep * &gt; <a class="code" href="classhippodraw_1_1CompositeFunctionRep.html#a3604dbba8ec91251278e8647e4a01a2e" title="The type of container for the list of FunctionRep objects.">FunctionRepList_t</a>;
<a name="l00036"></a>00036 
<a name="l00039"></a><a class="code" href="classhippodraw_1_1CompositeFunctionRep.html#ad92cfd1bd5fcd4ee131fc758a9c0e94f">00039</a>   <a class="code" href="classhippodraw_1_1CompositeFunctionRep.html#a3604dbba8ec91251278e8647e4a01a2e" title="The type of container for the list of FunctionRep objects.">FunctionRepList_t</a> m_func_reps;
<a name="l00040"></a>00040 
<a name="l00041"></a>00041 
<a name="l00042"></a>00042 <span class="keyword">public</span>:
<a name="l00043"></a>00043 
<a name="l00046"></a>00046   <a class="code" href="classhippodraw_1_1CompositeFunctionRep.html" title="A Derived class of FunctionRep which hold a composite function.">CompositeFunctionRep</a> ( <a class="code" href="classhippodraw_1_1FunctionBase.html" title="A function that can be added to a DataRep and used in a fitter.">FunctionBase</a> *, <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * );
<a name="l00047"></a>00047 
<a name="l00048"></a>00048   <span class="keyword">virtual</span> <span class="keywordtype">void</span> addToComposite ( <a class="code" href="classhippodraw_1_1FunctionRep.html" title="A derived class of DataRep which is a base class for displaying a function.">FunctionRep</a> * frep );
<a name="l00049"></a>00049 
<a name="l00050"></a>00050   <span class="keyword">virtual</span> <span class="keywordtype">void</span> removeFromComposite ( <a class="code" href="classhippodraw_1_1FunctionRep.html" title="A derived class of DataRep which is a base class for displaying a function.">FunctionRep</a> * frep );
<a name="l00051"></a>00051 
<a name="l00054"></a>00054   <span class="keywordtype">bool</span> isMember ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1FunctionRep.html" title="A derived class of DataRep which is a base class for displaying a function.">FunctionRep</a> * );
<a name="l00055"></a>00055 
<a name="l00058"></a>00058   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> count () <span class="keyword">const</span>;
<a name="l00059"></a>00059 
<a name="l00061"></a>00061   <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1CompositeFunctionRep.html#a3604dbba8ec91251278e8647e4a01a2e" title="The type of container for the list of FunctionRep objects.">FunctionRepList_t</a> &amp; getFunctionReps () <span class="keyword">const</span>;
<a name="l00062"></a>00062 
<a name="l00066"></a>00066   <span class="keyword">virtual</span> <span class="keywordtype">void</span> setFixedFlags ( <span class="keyword">const</span> std::vector &lt; int &gt; &amp; flags );
<a name="l00067"></a>00067 
<a name="l00068"></a>00068   <span class="keyword">virtual</span> <span class="keywordtype">void</span> drawProjectedValues ( <a class="code" href="classhippodraw_1_1TransformBase.html" title="A transform that transforms coordinates from one coordinate system to another.">TransformBase</a> * transform,
<a name="l00069"></a>00069                                      <a class="code" href="classhippodraw_1_1ViewBase.html" title="The abstract base class for views.">ViewBase</a> * view );
<a name="l00070"></a>00070 
<a name="l00071"></a>00071 };
<a name="l00072"></a>00072 
<a name="l00073"></a>00073 } <span class="comment">// namespace hippodraw</span>
<a name="l00074"></a>00074 
<a name="l00075"></a>00075 <span class="preprocessor">#endif // _CompositeFunctionRep_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>