<!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::StateInFile 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 Page</span></a></li> <li><a href="pages.html"><span>Related 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 List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><b>sc</b>::<a class="el" href="classsc_1_1StateInFile.html">StateInFile</a> </div> </div> <div class="contents"> <h1>sc::StateInFile Class Reference</h1><!-- doxytag: class="sc::StateInFile" --><!-- doxytag: inherits="sc::StateIn" -->Reads state information from a file. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="state__file_8h_source.html">state_file.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for sc::StateInFile:</div> <div class="dynsection"> <p><center><img src="classsc_1_1StateInFile.png" usemap="#sc::StateInFile_map" border="0" alt=""></center> <map name="sc::StateInFile_map"> <area href="classsc_1_1StateIn.html" alt="sc::StateIn" shape="rect" coords="65,168,185,192"> <area href="classsc_1_1DescribedClass.html" alt="sc::DescribedClass" shape="rect" coords="65,112,185,136"> <area href="classsc_1_1RefCount.html" alt="sc::RefCount" shape="rect" coords="65,56,185,80"> <area href="classsc_1_1Identity.html" alt="sc::Identity" shape="rect" coords="65,0,185,24"> <area href="classsc_1_1StateInBin.html" alt="sc::StateInBin" shape="rect" coords="0,280,120,304"> <area href="classsc_1_1StateInText.html" alt="sc::StateInText" shape="rect" coords="130,280,250,304"> </map> </div> <p> <a href="classsc_1_1StateInFile-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="19d1ac4e1b67404f172898f4f6d11a3c"></a><!-- doxytag: member="sc::StateInFile::StateInFile" ref="19d1ac4e1b67404f172898f4f6d11a3c" args="()" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1StateInFile.html#19d1ac4e1b67404f172898f4f6d11a3c">StateInFile</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">State information will be obtained from cin. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f5ab47ba667d1bbae82d70f8b5abbc72"></a><!-- doxytag: member="sc::StateInFile::StateInFile" ref="f5ab47ba667d1bbae82d70f8b5abbc72" args="(std::istream &s)" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1StateInFile.html#f5ab47ba667d1bbae82d70f8b5abbc72">StateInFile</a> (std::istream &s)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">State information will be obtained from fp. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="13076846f7ae9e41f3be7e144bc3ede8"></a><!-- doxytag: member="sc::StateInFile::StateInFile" ref="13076846f7ae9e41f3be7e144bc3ede8" args="(const char *name)" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1StateInFile.html#13076846f7ae9e41f3be7e144bc3ede8">StateInFile</a> (const char *name)</td></tr> <tr><td class="mdescLeft"> </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="6637a52a8f388b2aabe3e2a1f037917d"></a><!-- doxytag: member="sc::StateInFile::open" ref="6637a52a8f388b2aabe3e2a1f037917d" args="(const char *name)" --> virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1StateInFile.html#6637a52a8f388b2aabe3e2a1f037917d">open</a> (const char *name)</td></tr> <tr><td class="mdescLeft"> </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="1d690247c8e8a71f9b58ae8e3c3b5247"></a><!-- doxytag: member="sc::StateInFile::close" ref="1d690247c8e8a71f9b58ae8e3c3b5247" args="()" --> virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1StateInFile.html#1d690247c8e8a71f9b58ae8e3c3b5247">close</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Close the output file. <br></td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aa448fe80a2cb9626bb64bdd7c9cd648"></a><!-- doxytag: member="sc::StateInFile::opened_" ref="aa448fe80a2cb9626bb64bdd7c9cd648" args="" --> int </td><td class="memItemRight" valign="bottom"><b>opened_</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="424d088d6bd9b7f2ed4a61b88e5ab020"></a><!-- doxytag: member="sc::StateInFile::buf_" ref="424d088d6bd9b7f2ed4a61b88e5ab020" args="" --> std::streambuf * </td><td class="memItemRight" valign="bottom"><b>buf_</b></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Reads state information from a file. <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="state__file_8h_source.html">state_file.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>