Sophie

Sophie

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

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_546918f92081d0a3941b8fe5c9b2d53f.html">controllers</a>
  </div>
</div>
<div class="contents">
<h1>DataRepController.h</h1><a href="DataRepController_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 _DataRepController_H_</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _DataRepController_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="libhippo_8h.html">pattern/libhippo.h</a>&quot;</span>
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include &lt;vector&gt;</span>
<a name="l00022"></a>00022 
<a name="l00023"></a>00023 <span class="keyword">namespace </span>hippodraw {
<a name="l00024"></a>00024   <span class="keyword">class </span>DataRep;
<a name="l00025"></a>00025   <span class="keyword">class </span>DataSource;
<a name="l00026"></a>00026   <span class="keyword">class </span>NTuple;
<a name="l00027"></a>00027   <span class="keyword">class </span>PlotterBase;
<a name="l00028"></a>00028 
<a name="l00036"></a><a class="code" href="classhippodraw_1_1DataRepController.html">00036</a> <span class="keyword">class </span><a class="code" href="libhippo_8h.html#a480024fd54849c743866874550153711">MDL_HIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1DataRepController.html" title="A singleton class that is the interface between GUI and the DataRep.">DataRepController</a>
<a name="l00037"></a>00037 {
<a name="l00038"></a>00038 
<a name="l00039"></a>00039 <span class="keyword">private</span>:
<a name="l00040"></a>00040 
<a name="l00042"></a><a class="code" href="classhippodraw_1_1DataRepController.html#a2271049a29b2bb3711a620c6853d5ff0">00042</a>   <span class="keyword">static</span> <a class="code" href="classhippodraw_1_1DataRepController.html" title="A singleton class that is the interface between GUI and the DataRep.">DataRepController</a> * s_instance;
<a name="l00043"></a>00043 
<a name="l00046"></a><a class="code" href="classhippodraw_1_1DataRepController.html#aba066a2b2ac69008d54af027489ab0eb">00046</a>   std::vector&lt; std::string &gt; m_null_vector;
<a name="l00047"></a>00047 
<a name="l00049"></a>00049   <a class="code" href="classhippodraw_1_1DataRepController.html" title="A singleton class that is the interface between GUI and the DataRep.">DataRepController</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1DataRepController.html" title="A singleton class that is the interface between GUI and the DataRep.">DataRepController</a> &amp; );
<a name="l00050"></a>00050 
<a name="l00054"></a>00054   <span class="keywordtype">bool</span> checkBindings ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1DataSource.html" title="Base class for DataSource.">DataSource</a> * tuple, 
<a name="l00055"></a>00055                        <span class="keyword">const</span> std::vector &lt; std::string &gt; &amp; bindings ) <span class="keyword">const</span>;
<a name="l00056"></a>00056 
<a name="l00057"></a>00057 <span class="keyword">protected</span>:
<a name="l00058"></a>00058 
<a name="l00061"></a>00061   <a class="code" href="classhippodraw_1_1DataRepController.html" title="A singleton class that is the interface between GUI and the DataRep.">DataRepController</a>();
<a name="l00062"></a>00062 
<a name="l00063"></a>00063 <span class="keyword">public</span>:
<a name="l00064"></a>00064 
<a name="l00066"></a>00066   <span class="keyword">static</span> <a class="code" href="classhippodraw_1_1DataRepController.html" title="A singleton class that is the interface between GUI and the DataRep.">DataRepController</a> * instance ();
<a name="l00067"></a>00067 
<a name="l00069"></a>00069   ~<a class="code" href="classhippodraw_1_1DataRepController.html" title="A singleton class that is the interface between GUI and the DataRep.">DataRepController</a>();
<a name="l00070"></a>00070 
<a name="l00073"></a>00073   <span class="keyword">const</span> std::vector&lt; std::string &gt; &amp; 
<a name="l00074"></a>00074   bindingOptions ( <span class="keyword">const</span> std::string &amp; name );
<a name="l00075"></a>00075 
<a name="l00078"></a>00078   <span class="keyword">const</span> std::vector&lt; std::string &gt; &amp; 
<a name="l00079"></a>00079   bindingOptions ( <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep );
<a name="l00080"></a>00080 
<a name="l00083"></a>00083   <span class="keyword">const</span> std::vector &lt; std::string &gt; &amp; names () <span class="keyword">const</span>;
<a name="l00084"></a>00084 
<a name="l00089"></a>00089   <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * createDataRep ( <span class="keyword">const</span> std::string &amp; name );
<a name="l00090"></a>00090 
<a name="l00096"></a>00096   <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * 
<a name="l00097"></a>00097   createDataRep ( <span class="keyword">const</span> std::string &amp; name,
<a name="l00098"></a>00098                   <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1DataSource.html" title="Base class for DataSource.">DataSource</a> * ntuple,
<a name="l00099"></a>00099                   <span class="keyword">const</span> std::vector&lt; std::string &gt; &amp; bindings ) <span class="keyword">const</span>;
<a name="l00100"></a>00100 
<a name="l00103"></a>00103   <span class="keywordtype">void</span> setAxisBindings ( <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep,
<a name="l00104"></a>00104                          <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1DataSource.html" title="Base class for DataSource.">DataSource</a> * ntuple,
<a name="l00105"></a>00105                          <span class="keyword">const</span> std::vector&lt; std::string &gt; &amp; bindings ) <span class="keyword">const</span>;
<a name="l00106"></a>00106 
<a name="l00114"></a>00114   <span class="keywordtype">void</span> changeDataSource ( <a class="code" href="classhippodraw_1_1DataRep.html" title="The base class for data representations.">DataRep</a> * rep,
<a name="l00115"></a>00115                           <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1DataSource.html" title="Base class for DataSource.">DataSource</a> * tuple );
<a name="l00116"></a>00116 
<a name="l00117"></a>00117   };
<a name="l00118"></a>00118 
<a name="l00119"></a>00119 } <span class="comment">// namespace hippodraw</span>
<a name="l00120"></a>00120 
<a name="l00121"></a>00121 <span class="preprocessor">#endif // _DataRepController_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>