Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > contrib > by-pkgid > 263386785cefb9ae5d63b926d214d809 > files > 756

mpqc-2.1.2-4mdk.ppc.rpm

<!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::StateInText 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:52 2002 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>sc::StateInText  Class Reference</h1>Reads state information written with <a class="el" href="class_sc__StateOutText.html">StateOutText</a>. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="state_text_h-source.html">state_text.h</a>&gt;</code>
<p>
Inheritance diagram for sc::StateInText<p><center><img src="class_sc__StateInText_inherit_graph.gif" border="0" usemap="#sc::StateInText_inherit_map" alt="Inheritance graph"></center>
<map name="sc::StateInText_inherit_map">
<area href="class_sc__StateInFile.html" shape="rect" coords="26,280,117,299">
<area href="class_sc__StateIn.html" shape="rect" coords="37,213,106,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::StateInText:<p><center><img src="class_sc__StateInText_coll_graph.gif" border="0" usemap="#sc::StateInText_coll_map" alt="Collaboration graph"></center>
<map name="sc::StateInText_coll_map">
<area href="class_sc__StateInFile.html" shape="rect" coords="518,344,609,363">
<area href="class_sc__StateIn.html" shape="rect" coords="426,262,495,280">
<area href="class_sc__TranslateDataIn.html" shape="rect" coords="325,344,442,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__Ref.html" shape="rect" coords="809,179,923,198">
<area href="class_sc__RefBase.html" shape="rect" coords="827,96,905,115">
<area href="class_sc__TranslateData.html" shape="rect" coords="217,262,323,280">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_sc__StateInText-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::StateInText::StateInText"></a>
&nbsp;</td><td valign=bottom><b>StateInText</b> ()</td></tr>
<tr><td nowrap align=right valign=top><a name="a1" doxytag="sc::StateInText::StateInText"></a>
&nbsp;</td><td valign=bottom><b>StateInText</b> (std::istream &amp;s)</td></tr>
<tr><td nowrap align=right valign=top><a name="a2" doxytag="sc::StateInText::StateInText"></a>
&nbsp;</td><td valign=bottom><b>StateInText</b> (const char *)</td></tr>
<tr><td nowrap align=right valign=top><a name="a3" doxytag="sc::StateInText::StateInText"></a>
&nbsp;</td><td valign=bottom><b>StateInText</b> (const <a class="el" href="class_sc__Ref.html">Ref</a>&lt; <a class="el" href="class_sc__KeyVal.html">KeyVal</a> &gt; &amp;)</td></tr>
<tr><td nowrap align=right valign=top><a name="a4" doxytag="sc::StateInText::~StateInText"></a>
&nbsp;</td><td valign=bottom><b>~StateInText</b> ()</td></tr>
<tr><td nowrap align=right valign=top><a name="a5" doxytag="sc::StateInText::getstring"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="class_sc__StateInText.html#a5">getstring</a> (char *&amp;)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>This restores strings saved with <a class="el" href="class_sc__StateOut.html#a3">StateOut::putstring</a>.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="class_sc__StateInText.html#a6">get_array_char</a> (char *,int)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>These restore data saved with <a class="el" href="class_sc__StateOut.html">StateOut</a>'s put.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a7" doxytag="sc::StateInText::get_array_uint"></a>
int&nbsp;</td><td valign=bottom><b>get_array_uint</b> (unsigned int *,int)</td></tr>
<tr><td nowrap align=right valign=top><a name="a8" doxytag="sc::StateInText::get_array_int"></a>
int&nbsp;</td><td valign=bottom><b>get_array_int</b> (int *,int)</td></tr>
<tr><td nowrap align=right valign=top><a name="a9" doxytag="sc::StateInText::get_array_float"></a>
int&nbsp;</td><td valign=bottom><b>get_array_float</b> (float *,int)</td></tr>
<tr><td nowrap align=right valign=top><a name="a10" doxytag="sc::StateInText::get_array_double"></a>
int&nbsp;</td><td valign=bottom><b>get_array_double</b> (double *,int)</td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="class_sc__StateInText.html#a11">get</a> (const <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a> **)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>This restores <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a>'s.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a12" doxytag="sc::StateInText::get"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="class_sc__StateInText.html#a12">get</a> (char &amp;r, const char *key=0)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>These restore data saved with <a class="el" href="class_sc__StateOut.html">StateOut</a>'s put. members.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a13" doxytag="sc::StateInText::get"></a>
int&nbsp;</td><td valign=bottom><b>get</b> (unsigned int &amp;r, const char *key=0)</td></tr>
<tr><td nowrap align=right valign=top><a name="a14" doxytag="sc::StateInText::get"></a>
int&nbsp;</td><td valign=bottom><b>get</b> (int &amp;r, const char *key=0)</td></tr>
<tr><td nowrap align=right valign=top><a name="a15" doxytag="sc::StateInText::get"></a>
int&nbsp;</td><td valign=bottom><b>get</b> (float &amp;r, const char *key=0)</td></tr>
<tr><td nowrap align=right valign=top><a name="a16" doxytag="sc::StateInText::get"></a>
int&nbsp;</td><td valign=bottom><b>get</b> (double &amp;r, const char *key=0)</td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="class_sc__StateInText.html#a17">get</a> (char *&amp;)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>These restore data saved with <a class="el" href="class_sc__StateOut.html">StateOut</a>'s put.</em> <a href="#a17">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a18" doxytag="sc::StateInText::get"></a>
int&nbsp;</td><td valign=bottom><b>get</b> (unsigned int *&amp;)</td></tr>
<tr><td nowrap align=right valign=top><a name="a19" doxytag="sc::StateInText::get"></a>
int&nbsp;</td><td valign=bottom><b>get</b> (int *&amp;)</td></tr>
<tr><td nowrap align=right valign=top><a name="a20" doxytag="sc::StateInText::get"></a>
int&nbsp;</td><td valign=bottom><b>get</b> (float *&amp;)</td></tr>
<tr><td nowrap align=right valign=top><a name="a21" doxytag="sc::StateInText::get"></a>
int&nbsp;</td><td valign=bottom><b>get</b> (double *&amp;)</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::StateInText::no_newline"></a>
void&nbsp;</td><td valign=bottom><b>no_newline</b> ()</td></tr>
<tr><td nowrap align=right valign=top><a name="b1" doxytag="sc::StateInText::no_array"></a>
void&nbsp;</td><td valign=bottom><b>no_array</b> ()</td></tr>
<tr><td nowrap align=right valign=top><a name="b2" doxytag="sc::StateInText::read"></a>
int&nbsp;</td><td valign=bottom><b>read</b> (char *)</td></tr>
<tr><td nowrap align=right valign=top><a name="b3" doxytag="sc::StateInText::read"></a>
int&nbsp;</td><td valign=bottom><b>read</b> (unsigned int &amp;)</td></tr>
<tr><td nowrap align=right valign=top><a name="b4" doxytag="sc::StateInText::read"></a>
int&nbsp;</td><td valign=bottom><b>read</b> (int &amp;)</td></tr>
<tr><td nowrap align=right valign=top><a name="b5" doxytag="sc::StateInText::read"></a>
int&nbsp;</td><td valign=bottom><b>read</b> (float &amp;)</td></tr>
<tr><td nowrap align=right valign=top><a name="b6" doxytag="sc::StateInText::read"></a>
int&nbsp;</td><td valign=bottom><b>read</b> (double &amp;)</td></tr>
<tr><td nowrap align=right valign=top><a name="b7" doxytag="sc::StateInText::newline"></a>
void&nbsp;</td><td valign=bottom><b>newline</b> ()</td></tr>
<tr><td nowrap align=right valign=top><a name="b8" doxytag="sc::StateInText::start_array"></a>
void&nbsp;</td><td valign=bottom><b>start_array</b> ()</td></tr>
<tr><td nowrap align=right valign=top><a name="b9" doxytag="sc::StateInText::end_array"></a>
void&nbsp;</td><td valign=bottom><b>end_array</b> ()</td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="class_sc__StateInText.html#b10">getobject</a> (<a class="el" href="class_sc__Ref.html">Ref</a>&lt; <a class="el" href="class_sc__SavableState.html">SavableState</a> &gt; &amp;)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>This is used to restore an object.</em> <a href="#b10">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="b11" doxytag="sc::StateInText::abort"></a>
void&nbsp;</td><td valign=bottom><b>abort</b> ()</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::StateInText::newlines_"></a>
int&nbsp;</td><td valign=bottom><b>newlines_</b></td></tr>
<tr><td nowrap align=right valign=top><a name="n1" doxytag="sc::StateInText::no_newline_"></a>
int&nbsp;</td><td valign=bottom><b>no_newline_</b></td></tr>
<tr><td nowrap align=right valign=top><a name="n2" doxytag="sc::StateInText::no_array_"></a>
int&nbsp;</td><td valign=bottom><b>no_array_</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Reads state information written with <a class="el" href="class_sc__StateOutText.html">StateOutText</a>.
<p>
<hr><h2>Member Function Documentation</h2>
<a name="a17" doxytag="sc::StateInText::get"></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::StateInText::get (
          </b></td>
          <td valign="bottom"><b>
char *&amp;&nbsp;)<code> [virtual]</code>
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
These restore data saved with <a class="el" href="class_sc__StateOut.html">StateOut</a>'s put.
<p>
members. The data is allocated by <a class="el" href="class_sc__StateIn.html">StateIn</a>. 
<p>
Reimplemented from <a class="el" href="class_sc__StateIn.html#a10">sc::StateIn</a>.    </td>
  </tr>
</table>
<a name="a11" doxytag="sc::StateInText::get"></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::StateInText::get (
          </b></td>
          <td valign="bottom"><b>
const <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a> **&nbsp;)<code> [virtual]</code>
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This restores <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a>'s.
<p>
It will set the pointer to the address of the static <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a> for the class which has the same name as the class that had the <a class="el" href="class_sc__ClassDesc.html">ClassDesc</a> that was saved by put(const ClassDesc*). 
<p>
Reimplemented from <a class="el" href="class_sc__StateIn.html#b14">sc::StateIn</a>.    </td>
  </tr>
</table>
<a name="a6" doxytag="sc::StateInText::get_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::StateInText::get_array_char (
          </b></td>
          <td valign="bottom"><b>
char * <em>p</em>, 
          </b></td>
        </tr>
        <tr>
          <td></td>
          <td><b>
int <em>size</em>&nbsp;)<code> [virtual]</code>
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
These restore data saved with <a class="el" href="class_sc__StateOut.html">StateOut</a>'s put.
<p>
members. The data must be preallocated by the user. 
<p>
Reimplemented from <a class="el" href="class_sc__StateIn.html#a15">sc::StateIn</a>.    </td>
  </tr>
</table>
<a name="b10" doxytag="sc::StateInText::getobject"></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::StateInText::getobject (
          </b></td>
          <td valign="bottom"><b>
<a class="el" href="class_sc__Ref.html">Ref</a>&lt; <a class="el" href="class_sc__SavableState.html">SavableState</a> &gt; &amp;&nbsp;)<code> [protected, virtual]</code>
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This is used to restore an object.
<p>
It is called with the reference to the reference being restored. If the data being restored has previously been restored, then the pointer being restored is set to a reference to the previously restored object. 
<p>
Reimplemented from <a class="el" href="class_sc__StateIn.html#b7">sc::StateIn</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:53 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>