Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 247b28499c443e092731ffba814075f2 > files > 813

mpqc-html-2.3.1-9mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>MPQC: sc::StateInBin Class 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.5.9 -->
<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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><b>sc</b>::<a class="el" href="classsc_1_1StateInBin.html">StateInBin</a>
  </div>
</div>
<div class="contents">
<h1>sc::StateInBin Class Reference</h1><!-- doxytag: class="sc::StateInBin" --><!-- doxytag: inherits="sc::StateInFile" -->Read objects written with <a class="el" href="classsc_1_1StateOutBin.html" title="Save state to a binary file.">StateOutBin</a>.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="state__bin_8h_source.html">state_bin.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for sc::StateInBin:</div>
<div class="dynsection">

<p><center><img src="classsc_1_1StateInBin.png" usemap="#sc::StateInBin_map" border="0" alt=""></center>
<map name="sc::StateInBin_map">
<area href="classsc_1_1StateInFile.html" alt="sc::StateInFile" shape="rect" coords="0,224,120,248">
<area href="classsc_1_1StateIn.html" alt="sc::StateIn" shape="rect" coords="0,168,120,192">
<area href="classsc_1_1DescribedClass.html" alt="sc::DescribedClass" shape="rect" coords="0,112,120,136">
<area href="classsc_1_1RefCount.html" alt="sc::RefCount" shape="rect" coords="0,56,120,80">
<area href="classsc_1_1Identity.html" alt="sc::Identity" shape="rect" coords="0,0,120,24">
</map>
</div>

<p>
<a href="classsc_1_1StateInBin-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1600152c20db24deaa136e068bccf9e3"></a><!-- doxytag: member="sc::StateInBin::StateInBin" ref="1600152c20db24deaa136e068bccf9e3" args="(const Ref&lt; KeyVal &gt; &amp;)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>StateInBin</b> (const <a class="el" href="classsc_1_1Ref.html">Ref</a>&lt; <a class="el" href="classsc_1_1KeyVal.html">KeyVal</a> &gt; &amp;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aefd74c15e55095d411b26436e4976bf"></a><!-- doxytag: member="sc::StateInBin::StateInBin" ref="aefd74c15e55095d411b26436e4976bf" args="(std::istream &amp;)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>StateInBin</b> (std::istream &amp;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c20facc6f85a209ba1181b68cb63898f"></a><!-- doxytag: member="sc::StateInBin::StateInBin" ref="c20facc6f85a209ba1181b68cb63898f" args="(const char *)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>StateInBin</b> (const char *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c7700f0eab829cf84eefe93fe411acdd"></a><!-- doxytag: member="sc::StateInBin::open" ref="c7700f0eab829cf84eefe93fe411acdd" args="(const char *name)" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1StateInBin.html#c7700f0eab829cf84eefe93fe411acdd">open</a> (const char *name)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">State information will be obtained from name. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dc1658c309f35265b90473f3b01f223d"></a><!-- doxytag: member="sc::StateInBin::use_directory" ref="dc1658c309f35265b90473f3b01f223d" args="()" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1StateInBin.html#dc1658c309f35265b90473f3b01f223d">use_directory</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true of this object uses a directory. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d4e418eeaef94333325a69b4fc08988d"></a><!-- doxytag: member="sc::StateInBin::tell" ref="d4e418eeaef94333325a69b4fc08988d" args="()" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1StateInBin.html#d4e418eeaef94333325a69b4fc08988d">tell</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the current position in the file. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1StateInBin.html#8f741e939746181727d71fb233b68749">seek</a> (int loc)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the current position in the file.  <a href="#8f741e939746181727d71fb233b68749"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1StateInBin.html#090f16b495b2667e65f6b93f3423b449">seekable</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return non-zero if seek does anything sensible.  <a href="#090f16b495b2667e65f6b93f3423b449"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Read objects written with <a class="el" href="classsc_1_1StateOutBin.html" title="Save state to a binary file.">StateOutBin</a>. <hr><h2>Member Function Documentation</h2>
<a class="anchor" name="8f741e939746181727d71fb233b68749"></a><!-- doxytag: member="sc::StateInBin::seek" ref="8f741e939746181727d71fb233b68749" args="(int loc)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void sc::StateInBin::seek           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the current position in the file. 
<p>
The default implementation does nothing. 
<p>Reimplemented from <a class="el" href="classsc_1_1StateIn.html#1bbf4bb3ea53387b2b9c2153e7a55565">sc::StateIn</a>.</p>

</div>
</div><p>
<a class="anchor" name="090f16b495b2667e65f6b93f3423b449"></a><!-- doxytag: member="sc::StateInBin::seekable" ref="090f16b495b2667e65f6b93f3423b449" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int sc::StateInBin::seekable           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return non-zero if seek does anything sensible. 
<p>
The default implementation returns 0. 
<p>Reimplemented from <a class="el" href="classsc_1_1StateIn.html#02a2c81aebf02a7ae0c57b317a12d7fd">sc::StateIn</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="state__bin_8h_source.html">state_bin.h</a></ul>
</div>
<hr>
<address>
<small>

Generated at Wed Oct 14 14:12:17 2009 for <a
href="http://www.mpqc.org">MPQC</a>
2.3.1 using the documentation package <a
href="http://www.doxygen.org">Doxygen</a>
1.5.9.

</small>
</address>
</body>
</html>