Sophie

Sophie

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

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::BcastStateInBin 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:16:41 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::BcastStateInBin  Class Reference</h1>BcastStateBin reads a file in written by <a class="el" href="class_sc__StateInBin.html">StateInBin</a> on node 0 and broadcasts it to all nodes so state can be simultaneously restored on all nodes. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="mstate_h-source.html">mstate.h</a>&gt;</code>
<p>
Inheritance diagram for sc::BcastStateInBin<p><center><img src="class_sc__BcastStateInBin_inherit_graph.gif" border="0" usemap="#sc::BcastStateInBin_inherit_map" alt="Inheritance graph"></center>
<map name="sc::BcastStateInBin_inherit_map">
<area href="class_sc__MsgStateBufRecv.html" shape="rect" coords="14,280,142,299">
<area href="class_sc__StateIn.html" shape="rect" coords="43,213,113,232">
<area href="class_sc__DescribedClass.html" shape="rect" coords="21,147,135,165">
<area href="class_sc__RefCount.html" shape="rect" coords="37,80,119,99">
<area href="class_sc__Identity.html" shape="rect" coords="42,13,114,32">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for sc::BcastStateInBin:<p><center><img src="class_sc__BcastStateInBin_coll_graph.gif" border="0" usemap="#sc::BcastStateInBin_coll_map" alt="Collaboration graph"></center>
<map name="sc::BcastStateInBin_coll_map">
<area href="class_sc__MsgStateBufRecv.html" shape="rect" coords="731,347,859,366">
<area href="class_sc__StateIn.html" shape="rect" coords="474,265,543,283">
<area href="class_sc__TranslateDataIn.html" shape="rect" coords="411,347,529,366">
<area href="class_sc__DescribedClass.html" shape="rect" coords="14,179,129,198">
<area href="class_sc__RefCount.html" shape="rect" coords="30,97,113,115">
<area href="class_sc__Identity.html" shape="rect" coords="35,14,107,33">
<area href="class_sc__Ref.html" shape="rect" coords="809,179,923,198">
<area href="class_sc__RefBase.html" shape="rect" coords="895,97,973,115">
<area href="class_sc__Ref.html" shape="rect" coords="886,222,1025,241">
<area href="class_sc__TranslateData.html" shape="rect" coords="303,265,410,283">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_sc__BcastStateInBin-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::BcastStateInBin::BcastStateInBin"></a>
&nbsp;</td><td valign=bottom><a class="el" href="class_sc__BcastStateInBin.html#a0">BcastStateInBin</a> (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>&nbsp;</td><td><font size=-1><em>Create the <a class="el" href="class_sc__BcastStateRecv.html">BcastStateRecv</a> using the default <a class="el" href="class_sc__MessageGrp.html">MessageGrp</a>.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a1" doxytag="sc::BcastStateInBin::BcastStateInBin"></a>
&nbsp;</td><td valign=bottom><a class="el" href="class_sc__BcastStateInBin.html#a1">BcastStateInBin</a> (const <a class="el" href="class_sc__Ref.html">Ref</a>&lt; <a class="el" href="class_sc__MessageGrp.html">MessageGrp</a> &gt; &amp;, const char *filename)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Create the <a class="el" href="class_sc__BcastStateRecv.html">BcastStateRecv</a>.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a2" doxytag="sc::BcastStateInBin::~BcastStateInBin"></a>
&nbsp;</td><td valign=bottom><b>~BcastStateInBin</b> ()</td></tr>
<tr><td nowrap align=right valign=top><a name="a3" doxytag="sc::BcastStateInBin::open"></a>
virtual int&nbsp;</td><td valign=bottom><b>open</b> (const char *name)</td></tr>
<tr><td nowrap align=right valign=top><a name="a4" doxytag="sc::BcastStateInBin::close"></a>
virtual void&nbsp;</td><td valign=bottom><b>close</b> ()</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_sc__BcastStateInBin.html#a5">seek</a> (int loc)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Set the current position in the file.</em> <a href="#a5">More...</a><em></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__BcastStateInBin.html#a6">seekable</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Return non-zero if seek does anything sensible.</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::BcastStateInBin::tell"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="class_sc__BcastStateInBin.html#a7">tell</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Return the current position in the file.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a8" doxytag="sc::BcastStateInBin::use_directory"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="class_sc__BcastStateInBin.html#a8">use_directory</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns true of this object uses a directory.</em></font><br><br></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::BcastStateInBin::next_buffer"></a>
void&nbsp;</td><td valign=bottom><a class="el" href="class_sc__BcastStateInBin.html#b0">next_buffer</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Specializations must implement <a class="el" href="class_sc__BcastStateInBin.html#b0">next_buffer</a>().</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="b1" doxytag="sc::BcastStateInBin::get_array_void"></a>
int&nbsp;</td><td valign=bottom><b>get_array_void</b> (void *, int)</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::BcastStateInBin::opened_"></a>
int&nbsp;</td><td valign=bottom><b>opened_</b></td></tr>
<tr><td nowrap align=right valign=top><a name="n1" doxytag="sc::BcastStateInBin::file_position_"></a>
int&nbsp;</td><td valign=bottom><b>file_position_</b></td></tr>
<tr><td nowrap align=right valign=top><a name="n2" doxytag="sc::BcastStateInBin::buf_"></a>
std::streambuf*&nbsp;</td><td valign=bottom><b>buf_</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
BcastStateBin reads a file in written by <a class="el" href="class_sc__StateInBin.html">StateInBin</a> on node 0 and broadcasts it to all nodes so state can be simultaneously restored on all nodes.
<p>
<hr><h2>Member Function Documentation</h2>
<a name="a5" doxytag="sc::BcastStateInBin::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::BcastStateInBin::seek (
          </b></td>
          <td valign="bottom"><b>
int <em>loc</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>
Set the current position in the file.
<p>
The default implementation does nothing. 
<p>
Reimplemented from <a class="el" href="class_sc__StateIn.html#a23">sc::StateIn</a>.    </td>
  </tr>
</table>
<a name="a6" doxytag="sc::BcastStateInBin::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::BcastStateInBin::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>
      &nbsp;
    </td>
    <td>

<p>
Return non-zero if seek does anything sensible.
<p>
The default implementation returns 0. 
<p>
Reimplemented from <a class="el" href="class_sc__StateIn.html#a24">sc::StateIn</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="mstate_h-source.html">mstate.h</a></ul>
<hr>
<address>
<small>

Generated at Mon Oct 14 14:16:42 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>