<!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::StateOutText 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:54 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::StateOutText Class Reference</h1>Writes out state information in an almost human readable format. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="state_text_h-source.html">state_text.h</a>></code> <p> Inheritance diagram for sc::StateOutText<p><center><img src="class_sc__StateOutText_inherit_graph.gif" border="0" usemap="#sc::StateOutText_inherit_map" alt="Inheritance graph"></center> <map name="sc::StateOutText_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::StateOutText:<p><center><img src="class_sc__StateOutText_coll_graph.gif" border="0" usemap="#sc::StateOutText_coll_map" alt="Collaboration graph"></center> <map name="sc::StateOutText_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__StateOutText-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::StateOutText::StateOutText"></a> </td><td valign=bottom><b>StateOutText</b> ()</td></tr> <tr><td nowrap align=right valign=top><a name="a1" doxytag="sc::StateOutText::StateOutText"></a> </td><td valign=bottom><b>StateOutText</b> (std::ostream &s)</td></tr> <tr><td nowrap align=right valign=top><a name="a2" doxytag="sc::StateOutText::StateOutText"></a> </td><td valign=bottom><b>StateOutText</b> (const char *)</td></tr> <tr><td nowrap align=right valign=top><a name="a3" doxytag="sc::StateOutText::~StateOutText"></a> </td><td valign=bottom><b>~StateOutText</b> ()</td></tr> <tr><td nowrap align=right valign=top><a name="a4" doxytag="sc::StateOutText::putstring"></a> int </td><td valign=bottom><a class="el" href="class_sc__StateOutText.html#a4">putstring</a> (const char *)</td></tr> <tr><td> </td><td><font size=-1><em>This is like put except the length of the char array is determined by interpreting the character array as a character string.</em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="class_sc__StateOutText.html#a5">put_array_char</a> (const char *,int)</td></tr> <tr><td> </td><td><font size=-1><em>Put arrays of data.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a name="a6" doxytag="sc::StateOutText::put_array_uint"></a> int </td><td valign=bottom><b>put_array_uint</b> (const unsigned int *,int)</td></tr> <tr><td nowrap align=right valign=top><a name="a7" doxytag="sc::StateOutText::put_array_int"></a> int </td><td valign=bottom><b>put_array_int</b> (const int *,int)</td></tr> <tr><td nowrap align=right valign=top><a name="a8" doxytag="sc::StateOutText::put_array_float"></a> int </td><td valign=bottom><b>put_array_float</b> (const float *,int)</td></tr> <tr><td nowrap align=right valign=top><a name="a9" doxytag="sc::StateOutText::put_array_double"></a> int </td><td valign=bottom><b>put_array_double</b> (const double *,int)</td></tr> <tr><td nowrap align=right valign=top><a name="a10" doxytag="sc::StateOutText::put"></a> int </td><td valign=bottom><a class="el" href="class_sc__StateOutText.html#a10">put</a> (const <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a> *)</td></tr> <tr><td> </td><td><font size=-1><em>Write out information about the given <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a>.</em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a name="a11" doxytag="sc::StateOutText::put"></a> int </td><td valign=bottom><a class="el" href="class_sc__StateOutText.html#a11">put</a> (char r)</td></tr> <tr><td> </td><td><font size=-1><em>Write the given datum.</em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a name="a12" doxytag="sc::StateOutText::put"></a> int </td><td valign=bottom><b>put</b> (unsigned int r)</td></tr> <tr><td nowrap align=right valign=top><a name="a13" doxytag="sc::StateOutText::put"></a> int </td><td valign=bottom><b>put</b> (int r)</td></tr> <tr><td nowrap align=right valign=top><a name="a14" doxytag="sc::StateOutText::put"></a> int </td><td valign=bottom><b>put</b> (float r)</td></tr> <tr><td nowrap align=right valign=top><a name="a15" doxytag="sc::StateOutText::put"></a> int </td><td valign=bottom><b>put</b> (double r)</td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="class_sc__StateOutText.html#a16">put</a> (const char *,int)</td></tr> <tr><td> </td><td><font size=-1><em>Write the given array data.</em> <a href="#a16">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a name="a17" doxytag="sc::StateOutText::put"></a> int </td><td valign=bottom><b>put</b> (const unsigned int *,int)</td></tr> <tr><td nowrap align=right valign=top><a name="a18" doxytag="sc::StateOutText::put"></a> int </td><td valign=bottom><b>put</b> (const int *,int)</td></tr> <tr><td nowrap align=right valign=top><a name="a19" doxytag="sc::StateOutText::put"></a> int </td><td valign=bottom><b>put</b> (const float *,int)</td></tr> <tr><td nowrap align=right valign=top><a name="a20" doxytag="sc::StateOutText::put"></a> int </td><td valign=bottom><b>put</b> (const double *,int)</td></tr> <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> <tr><td nowrap align=right valign=top><a name="b0" doxytag="sc::StateOutText::no_newline"></a> void </td><td valign=bottom><b>no_newline</b> ()</td></tr> <tr><td nowrap align=right valign=top><a name="b1" doxytag="sc::StateOutText::no_array"></a> void </td><td valign=bottom><b>no_array</b> ()</td></tr> <tr><td nowrap align=right valign=top><a name="b2" doxytag="sc::StateOutText::newline"></a> void </td><td valign=bottom><b>newline</b> ()</td></tr> <tr><td nowrap align=right valign=top><a name="b3" doxytag="sc::StateOutText::start_array"></a> void </td><td valign=bottom><b>start_array</b> ()</td></tr> <tr><td nowrap align=right valign=top><a name="b4" doxytag="sc::StateOutText::end_array"></a> void </td><td valign=bottom><b>end_array</b> ()</td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="class_sc__StateOutText.html#b5">putobject</a> (const <a class="el" href="class_sc__Ref.html">Ref</a>< <a class="el" href="class_sc__SavableState.html">SavableState</a> > &)</td></tr> <tr><td> </td><td><font size=-1><em>This will prepare <a class="el" href="class_sc__StateOut.html">StateOut</a> to output a pointer to data.</em> <a href="#b5">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a name="b6" doxytag="sc::StateOutText::putparents"></a> int </td><td valign=bottom><b>putparents</b> (const <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a> *)</td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td nowrap align=right valign=top><a name="n0" doxytag="sc::StateOutText::no_newline_"></a> int </td><td valign=bottom><b>no_newline_</b></td></tr> <tr><td nowrap align=right valign=top><a name="n1" doxytag="sc::StateOutText::no_array_"></a> int </td><td valign=bottom><b>no_array_</b></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Writes out state information in an almost human readable format. <p> <a class="el" href="class_sc__StateOutText.html">StateOutText</a> is intended for debugging only. The state information can read in again with <a class="el" href="class_sc__StateInText.html">StateInText</a>. <p> <hr><h2>Member Function Documentation</h2> <a name="a16" doxytag="sc::StateOutText::put"></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::StateOutText::put ( </b></td> <td valign="bottom"><b> const char *, </b></td> </tr> <tr> <td></td> <td><b> int )<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Write the given array data. <p> Size information is also saved. The data is allocated and read by the get(T*&) routines. <p> Reimplemented from <a class="el" href="class_sc__StateOut.html#a9">sc::StateOut</a>. </td> </tr> </table> <a name="a5" doxytag="sc::StateOutText::put_array_char"></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::StateOutText::put_array_char ( </b></td> <td valign="bottom"><b> const char * <em>p</em>, </b></td> </tr> <tr> <td></td> <td><b> int <em>size</em> )<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Put arrays of data. <p> No size information is stored. This data is read by the get_array_T routines. <p> Reimplemented from <a class="el" href="class_sc__StateOut.html#a14">sc::StateOut</a>. </td> </tr> </table> <a name="b5" doxytag="sc::StateOutText::putobject"></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::StateOutText::putobject ( </b></td> <td valign="bottom"><b> const <a class="el" href="class_sc__Ref.html">Ref</a>< <a class="el" href="class_sc__SavableState.html">SavableState</a> > & )<code> [protected, virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> This will prepare <a class="el" href="class_sc__StateOut.html">StateOut</a> to output a pointer to data. <p> It first checks to see if the data has already been saved. If it has, then a reference to this data is saved. Otherwise the object is written out. <p> Reimplemented from <a class="el" href="class_sc__StateOut.html#b5">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_text_h-source.html">state_text.h</a></ul> <hr> <address> <small> Generated at Mon Oct 14 14:17:55 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>