Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > ce1f17e7ec5e62f35dbe9f064c5f74d7 > files > 1071

libtpcimgio-devel-1.5.10-4.fc15.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>sifio.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<div id="top">
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</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 id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">sifio.c File Reference</div>  </div>
</div>
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="sif_8h_source.html">include/sif.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for sifio.c:</div>
<div class="dyncontent">
<div class="center"><img src="sifio_8c__incl.png" border="0" usemap="#sifio_8c" alt=""/></div>
<map name="sifio_8c" id="sifio_8c">
<area shape="rect" id="node3" href="sif_8h.html" title="include/sif.h" alt="" coords="296,83,387,112"/></map>
</div>
</div>
<p><a href="sifio_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sifio_8c.html#ae6c3f31d7cbe31ca6b74760978fd39c7">sifRead</a> (char *filename, <a class="el" href="structSIF.html">SIF</a> *data)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sifio_8c.html#a306c8a06e0576bdbe31012da3be1eb40">sifWrite</a> (<a class="el" href="structSIF.html">SIF</a> *data, char *filename)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sifio_8c.html#a8ef6e8273b016fde2c629d2bc2ac7127">sifPrint</a> (<a class="el" href="structSIF.html">SIF</a> *data)</td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a8ef6e8273b016fde2c629d2bc2ac7127"></a><!-- doxytag: member="sifio.c::sifPrint" ref="a8ef6e8273b016fde2c629d2bc2ac7127" args="(SIF *data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void sifPrint </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structSIF.html">SIF</a> *&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Prints to stdout the contents of <a class="el" href="structSIF.html">SIF</a> data structure. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>Pointer to <a class="el" href="structSIF.html">SIF</a> struct </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="sifio_8c_source.html#l00224">224</a> of file <a class="el" href="sifio_8c_source.html">sifio.c</a>.</p>

<p>References <a class="el" href="sif_8h_source.html#l00040">SIF::frameNr</a>, <a class="el" href="sif_8h_source.html#l00048">SIF::isotope_name</a>, <a class="el" href="sif_8h_source.html#l00054">SIF::prompts</a>, <a class="el" href="sif_8h_source.html#l00056">SIF::randoms</a>, <a class="el" href="sif_8h_source.html#l00038">SIF::scantime</a>, <a class="el" href="sif_8h_source.html#l00058">SIF::trues</a>, <a class="el" href="sif_8h_source.html#l00060">SIF::weights</a>, <a class="el" href="sif_8h_source.html#l00050">SIF::x1</a>, and <a class="el" href="sif_8h_source.html#l00052">SIF::x2</a>.</p>

</div>
</div>
<a class="anchor" id="ae6c3f31d7cbe31ca6b74760978fd39c7"></a><!-- doxytag: member="sifio.c::sifRead" ref="ae6c3f31d7cbe31ca6b74760978fd39c7" args="(char *filename, SIF *data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int sifRead </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structSIF.html">SIF</a> *&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Reads <a class="el" href="structSIF.html">SIF</a> file contents to the specified data structure. Weights are set to 1. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns 0 if ok, 1 invalid input, 2 failed to open file, 3 failed to allocate memory, 4 header parsing error, 5 wrong file type, 6 failed to allocate memory, 8 parse error, 9 wrong data format </dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td><a class="el" href="structSIF.html">SIF</a> filename to be read </td></tr>
    <tr><td class="paramname">data</td><td>Pointer to initiated <a class="el" href="structSIF.html">SIF</a> struct; any existing contents will be deleted </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="sifio_8c_source.html#l00064">64</a> of file <a class="el" href="sifio_8c_source.html">sifio.c</a>.</p>

<p>References <a class="el" href="sif_8h_source.html#l00042">SIF::colNr</a>, <a class="el" href="sif_8h_source.html#l00040">SIF::frameNr</a>, <a class="el" href="sif_8h_source.html#l00048">SIF::isotope_name</a>, <a class="el" href="sif_8h_source.html#l00054">SIF::prompts</a>, <a class="el" href="sif_8h_source.html#l00056">SIF::randoms</a>, <a class="el" href="sif_8h_source.html#l00038">SIF::scantime</a>, <a class="el" href="sif_8h_source.html#l00063">SIF_TEST</a>, <a class="el" href="sif_8c_source.html#l00074">sifEmpty()</a>, <a class="el" href="sif_8h_source.html#l00033">siferrmsg</a>, <a class="el" href="sif_8c_source.html#l00095">sifSetmem()</a>, <a class="el" href="sif_8h_source.html#l00046">SIF::studynr</a>, <a class="el" href="sif_8h_source.html#l00058">SIF::trues</a>, <a class="el" href="sif_8h_source.html#l00044">SIF::version</a>, <a class="el" href="sif_8h_source.html#l00060">SIF::weights</a>, <a class="el" href="sif_8h_source.html#l00050">SIF::x1</a>, and <a class="el" href="sif_8h_source.html#l00052">SIF::x2</a>.</p>

<p>Referenced by <a class="el" href="img__ana_8c_source.html#l00083">imgReadAnalyze()</a>, <a class="el" href="img__ana_8c_source.html#l00674">imgReadAnalyzeFrame()</a>, and <a class="el" href="img__ana_8c_source.html#l00414">imgReadAnalyzeHeader()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="sifio_8c_ae6c3f31d7cbe31ca6b74760978fd39c7_cgraph.png" border="0" usemap="#sifio_8c_ae6c3f31d7cbe31ca6b74760978fd39c7_cgraph" alt=""/></div>
<map name="sifio_8c_ae6c3f31d7cbe31ca6b74760978fd39c7_cgraph" id="sifio_8c_ae6c3f31d7cbe31ca6b74760978fd39c7_cgraph">
<area shape="rect" id="node3" href="sif_8c.html#ad2378bec7fec69900af6f52737c89784" title="sifEmpty" alt="" coords="253,5,328,35"/><area shape="rect" id="node5" href="sif_8c.html#ac1ea54c7476aa6b3d0b1835e22798915" title="sifSetmem" alt="" coords="120,31,205,60"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a306c8a06e0576bdbe31012da3be1eb40"></a><!-- doxytag: member="sifio.c::sifWrite" ref="a306c8a06e0576bdbe31012da3be1eb40" args="(SIF *data, char *filename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int sifWrite </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structSIF.html">SIF</a> *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>filename</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Write <a class="el" href="structSIF.html">SIF</a> data to a standard <a class="el" href="structSIF.html">SIF</a> file, emptying files old contents. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns 0 if successful, 1 invalid input, 2 failed to open file, 3 failed to write into file. </dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>Pointer to <a class="el" href="structSIF.html">SIF</a> struct containing data to be written in file </td></tr>
    <tr><td class="paramname">filename</td><td>Filename for <a class="el" href="structSIF.html">SIF</a>; file is overwritten without backup </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="sifio_8c_source.html#l00167">167</a> of file <a class="el" href="sifio_8c_source.html">sifio.c</a>.</p>

<p>References <a class="el" href="sif_8h_source.html#l00042">SIF::colNr</a>, <a class="el" href="sif_8h_source.html#l00040">SIF::frameNr</a>, <a class="el" href="sif_8h_source.html#l00048">SIF::isotope_name</a>, <a class="el" href="sif_8h_source.html#l00054">SIF::prompts</a>, <a class="el" href="sif_8h_source.html#l00056">SIF::randoms</a>, <a class="el" href="sif_8h_source.html#l00038">SIF::scantime</a>, <a class="el" href="sif_8h_source.html#l00063">SIF_TEST</a>, <a class="el" href="sif_8h_source.html#l00033">siferrmsg</a>, <a class="el" href="sif_8h_source.html#l00046">SIF::studynr</a>, <a class="el" href="sif_8h_source.html#l00044">SIF::version</a>, <a class="el" href="sif_8h_source.html#l00050">SIF::x1</a>, and <a class="el" href="sif_8h_source.html#l00052">SIF::x2</a>.</p>

</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Mon Aug 8 2011 by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>