Sophie

Sophie

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

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_bd46360b4c6a7cd846adf95fa79d46e4.html">python</a>
  </div>
</div>
<div class="contents">
<h1>PyFitsController.h</h1><a href="PyFitsController_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 _PyFitsController_H_</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _PyFitsController_H_</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00018"></a>00018 <span class="preprocessor">#include &lt;vector&gt;</span>
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 <span class="keyword">namespace </span>hippodraw {
<a name="l00021"></a>00021 
<a name="l00022"></a>00022   <span class="keyword">class </span>DataSource;
<a name="l00023"></a>00023   <span class="keyword">class </span>FitsController;
<a name="l00024"></a>00024   <span class="keyword">class </span>FitsNTuple;
<a name="l00025"></a>00025   <span class="keyword">class </span>PyDataSource;
<a name="l00026"></a>00026   <span class="keyword">class </span>QtCut;
<a name="l00027"></a>00027 
<a name="l00035"></a><a class="code" href="classhippodraw_1_1PyFitsController.html">00035</a> <span class="keyword">class </span><a class="code" href="classhippodraw_1_1PyFitsController.html" title="A wrapper for FitsController.">PyFitsController</a> 
<a name="l00036"></a>00036 {
<a name="l00037"></a>00037 
<a name="l00038"></a>00038 <span class="keyword">private</span>:
<a name="l00039"></a>00039 
<a name="l00041"></a><a class="code" href="classhippodraw_1_1PyFitsController.html#abd2225377ab2854345e443fbcaaa7a98">00041</a>   <span class="keyword">static</span> <a class="code" href="classhippodraw_1_1PyFitsController.html" title="A wrapper for FitsController.">PyFitsController</a> * <a class="code" href="classhippodraw_1_1PyFitsController.html#abd2225377ab2854345e443fbcaaa7a98" title="The singleton PyFitsController instance.">s_instance</a>;
<a name="l00042"></a>00042 
<a name="l00044"></a><a class="code" href="classhippodraw_1_1PyFitsController.html#a6300f9f0ef4ffc64df915cc6acd9f336">00044</a>   <span class="keyword">static</span> <a class="code" href="classhippodraw_1_1FitsController.html" title="A Controller class for FITS files.">FitsController</a> * <a class="code" href="classhippodraw_1_1PyFitsController.html#a6300f9f0ef4ffc64df915cc6acd9f336" title="The singleton FitsController object.">m_instance</a>;
<a name="l00045"></a>00045 
<a name="l00047"></a>00047   <a class="code" href="classhippodraw_1_1PyFitsController.html#a38c8065990044aa02fc7759cb836e9e8" title="The default constructor, protected from being used.">PyFitsController</a> ();
<a name="l00048"></a>00048 
<a name="l00050"></a>00050   <a class="code" href="classhippodraw_1_1PyFitsController.html#a38c8065990044aa02fc7759cb836e9e8" title="The default constructor, protected from being used.">PyFitsController</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1PyFitsController.html" title="A wrapper for FitsController.">PyFitsController</a> &amp;);
<a name="l00051"></a>00051 
<a name="l00052"></a>00052 <span class="keyword">public</span>:
<a name="l00053"></a>00053 
<a name="l00056"></a>00056   <span class="keyword">static</span> <a class="code" href="classhippodraw_1_1PyFitsController.html" title="A wrapper for FitsController.">PyFitsController</a> * <a class="code" href="classhippodraw_1_1PyFitsController.html#aa896b86a06cd7f87b5465df613538552" title="The singleton instance method.">instance</a> ();
<a name="l00057"></a>00057 
<a name="l00060"></a>00060   <a class="code" href="classhippodraw_1_1FitsNTuple.html" title="A DataSource class implemented with a vector &amp;lt; DataColumn * &amp;gt; objects.">FitsNTuple</a> * <a class="code" href="classhippodraw_1_1PyFitsController.html#a0824773914c7ce9f2b971a752b017000" title="Creates a FitsNTuple object.">createNTuple</a> ( <span class="keyword">const</span> std::string &amp; filename, 
<a name="l00061"></a>00061                               <span class="keyword">const</span> std::string &amp; hduname );
<a name="l00062"></a>00062 
<a name="l00066"></a>00066   <a class="code" href="classhippodraw_1_1PyDataSource.html" title="This class is the public interface to a DataSource object that the user sees as the...">PyDataSource</a> * <a class="code" href="classhippodraw_1_1PyFitsController.html#af095e821f07490acb6146095047b054a" title="Creates a DataArray Python object from the FITS file filename and the FITS HDU named...">createDataArray</a> ( <span class="keyword">const</span> std::string &amp; filename, 
<a name="l00067"></a>00067                                    <span class="keyword">const</span> std::string &amp; hduname );
<a name="l00068"></a>00068 
<a name="l00071"></a>00071   <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1PyFitsController.html#a9b70eb7abe579325da5317878f8efae3" title="Writes the DataSource to a FITS file as a binary table.">writeToFile</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1DataSource.html" title="Base class for DataSource.">DataSource</a> * source,
<a name="l00072"></a>00072                      <span class="keyword">const</span> std::string &amp; filename );
<a name="l00073"></a>00073 
<a name="l00076"></a>00076   <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1PyFitsController.html#a9b70eb7abe579325da5317878f8efae3" title="Writes the DataSource to a FITS file as a binary table.">writeToFile</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1PyDataSource.html" title="This class is the public interface to a DataSource object that the user sees as the...">PyDataSource</a> * source,
<a name="l00077"></a>00077                      <span class="keyword">const</span> std::string &amp; filename );
<a name="l00078"></a>00078 
<a name="l00083"></a>00083   <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1PyFitsController.html#a9b70eb7abe579325da5317878f8efae3" title="Writes the DataSource to a FITS file as a binary table.">writeToFile</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1DataSource.html" title="Base class for DataSource.">DataSource</a> * source,
<a name="l00084"></a>00084                      <span class="keyword">const</span> std::string &amp; filename,
<a name="l00085"></a>00085                      <span class="keyword">const</span> std::vector &lt; QtCut * &gt; &amp; cut_list,
<a name="l00086"></a>00086                      <span class="keyword">const</span> std::vector &lt; std::string &gt; &amp; column_list );
<a name="l00087"></a>00087 
<a name="l00092"></a>00092   <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1PyFitsController.html#a9b70eb7abe579325da5317878f8efae3" title="Writes the DataSource to a FITS file as a binary table.">writeToFile</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1PyDataSource.html" title="This class is the public interface to a DataSource object that the user sees as the...">PyDataSource</a> * source,
<a name="l00093"></a>00093                      <span class="keyword">const</span> std::string &amp; filename,
<a name="l00094"></a>00094                      <span class="keyword">const</span> std::vector &lt; QtCut * &gt; &amp; cut_list,
<a name="l00095"></a>00095                      <span class="keyword">const</span> std::vector &lt; std::string &gt; &amp; column_list );
<a name="l00096"></a>00096 
<a name="l00099"></a>00099   <span class="keyword">const</span> std::vector &lt; std::string &gt; &amp; 
<a name="l00100"></a>00100     <a class="code" href="classhippodraw_1_1PyFitsController.html#a6d95c1d8acca60346dc7580b1bcfc422" title="Returns the names of the top level tree in the Root file.">getNTupleNames</a> ( <span class="keyword">const</span> std::string &amp; filename );
<a name="l00101"></a>00101 
<a name="l00102"></a>00102 };
<a name="l00103"></a>00103 
<a name="l00104"></a>00104 } <span class="comment">// namespace hippodraw</span>
<a name="l00105"></a>00105 
<a name="l00106"></a>00106 <span class="preprocessor">#endif // _PyFitsController_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>