<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta name="robots" content="noindex"> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>sc::StateOutBin class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <!-- Generated by Doxygen 1.2.5 on Mon Oct 14 14:17:53 2002 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>sc::StateOutBin Class Reference</h1>Save state to a binary file. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="state_bin_h-source.html">state_bin.h</a>></code> <p> Inheritance diagram for sc::StateOutBin<p><center><img src="class_sc__StateOutBin_inherit_graph.gif" border="0" usemap="#sc::StateOutBin_inherit_map" alt="Inheritance graph"></center> <map name="sc::StateOutBin_inherit_map"> <area href="class_sc__StateOutFile.html" shape="rect" coords="22,280,121,299"> <area href="class_sc__StateOut.html" shape="rect" coords="33,213,110,232"> <area href="class_sc__DescribedClass.html" shape="rect" coords="14,147,129,165"> <area href="class_sc__RefCount.html" shape="rect" coords="30,80,113,99"> <area href="class_sc__Identity.html" shape="rect" coords="35,13,107,32"> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for sc::StateOutBin:<p><center><img src="class_sc__StateOutBin_coll_graph.gif" border="0" usemap="#sc::StateOutBin_coll_map" alt="Collaboration graph"></center> <map name="sc::StateOutBin_coll_map"> <area href="class_sc__StateOutFile.html" shape="rect" coords="350,344,449,363"> <area href="class_sc__StateOut.html" shape="rect" coords="258,262,335,280"> <area href="class_sc__TranslateDataOut.html" shape="rect" coords="154,344,279,363"> <area href="class_sc__DescribedClass.html" shape="rect" coords="14,179,129,198"> <area href="class_sc__RefCount.html" shape="rect" coords="30,96,113,115"> <area href="class_sc__Identity.html" shape="rect" coords="35,14,107,32"> <area href="class_sc__TranslateData.html" shape="rect" coords="50,262,157,280"> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_sc__StateOutBin-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top><a name="a0" doxytag="sc::StateOutBin::StateOutBin"></a> </td><td valign=bottom><b>StateOutBin</b> ()</td></tr> <tr><td nowrap align=right valign=top><a name="a1" doxytag="sc::StateOutBin::StateOutBin"></a> </td><td valign=bottom><b>StateOutBin</b> (std::ostream &)</td></tr> <tr><td nowrap align=right valign=top><a name="a2" doxytag="sc::StateOutBin::StateOutBin"></a> </td><td valign=bottom><b>StateOutBin</b> (const char *)</td></tr> <tr><td nowrap align=right valign=top><a name="a3" doxytag="sc::StateOutBin::~StateOutBin"></a> </td><td valign=bottom><b>~StateOutBin</b> ()</td></tr> <tr><td nowrap align=right valign=top><a name="a4" doxytag="sc::StateOutBin::open"></a> int </td><td valign=bottom><a class="el" href="class_sc__StateOutBin.html#a4">open</a> (const char *name)</td></tr> <tr><td> </td><td><font size=-1><em>State information will be written to name.</em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a name="a5" doxytag="sc::StateOutBin::close"></a> void </td><td valign=bottom><a class="el" href="class_sc__StateOutBin.html#a5">close</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Close the output stream.</em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a name="a6" doxytag="sc::StateOutBin::use_directory"></a> int </td><td valign=bottom><a class="el" href="class_sc__StateOutBin.html#a6">use_directory</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Returns true if this object uses a directory.</em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="class_sc__StateOutBin.html#a7">tell</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Returns the current position in the file.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_sc__StateOutBin.html#a8">seek</a> (int loc)</td></tr> <tr><td> </td><td><font size=-1><em>Set the current position in the file.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="class_sc__StateOutBin.html#a9">seekable</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Return non-zero if tell and seek do anything sensible.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Save state to a binary file. <p> <hr><h2>Member Function Documentation</h2> <a name="a8" doxytag="sc::StateOutBin::seek"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void sc::StateOutBin::seek ( </b></td> <td valign="bottom"><b> int <em>loc</em> )<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the current position in the file. <p> The default implementation does nothing. <p> Reimplemented from <a class="el" href="class_sc__StateOut.html#a25">sc::StateOut</a>. </td> </tr> </table> <a name="a9" doxytag="sc::StateOutBin::seekable"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> int sc::StateOutBin::seekable ( </b></td> <td valign="bottom"><b> )<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Return non-zero if tell and seek do anything sensible. <p> The default implementation returns 0. <p> Reimplemented from <a class="el" href="class_sc__StateOut.html#a26">sc::StateOut</a>. </td> </tr> </table> <a name="a7" doxytag="sc::StateOutBin::tell"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> int sc::StateOutBin::tell ( </b></td> <td valign="bottom"><b> )<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Returns the current position in the file. <p> The default implementation returns 0. <p> Reimplemented from <a class="el" href="class_sc__StateOut.html#a24">sc::StateOut</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="state_bin_h-source.html">state_bin.h</a></ul> <hr> <address> <small> Generated at Mon Oct 14 14:17:54 2002 for <a href="http://aros.ca.sandia.gov/~cljanss/mpqc">MPQC</a> 2.1.2 using the documentation package <a href="http://www.stack.nl/~dimitri/doxygen/index.html">Doxygen</a> 1.2.5. </small> </address> </body> </html>