paradiseo/trunk/paradiseo-eo/doc/html/classeo_gen_continue.html
legrand c3aec878e5 Paradiseo-eo sources added
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
2006-12-12 14:49:08 +00:00

178 lines
11 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>EO: eoGenContinue&lt; EOT &gt; Class Template Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"> <form class="search" action="search.php" method="get">
<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
<h1>eoGenContinue&lt; EOT &gt; Class Template Reference</h1>Generational continuator: continues until a number of generations is reached.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="eo_gen_continue_8h-source.html">eoGenContinue.h</a>&gt;</code>
<p>
<p>Inheritance diagram for eoGenContinue&lt; EOT &gt;:
<p><center><img src="classeo_gen_continue.png" usemap="#eoGenContinue< EOT >_map" border="0" alt=""></center>
<map name="eoGenContinue< EOT >_map">
<area href="classeo_continue.html" alt="eoContinue< EOT >" shape="rect" coords="372,112,660,136">
<area href="classeo_value_param.html" alt="eoValueParam< unsigned >" shape="rect" coords="894,112,1182,136">
<area href="classeo_u_f.html" alt="eoUF< const eoPop< EOT > &, bool >" shape="rect" coords="149,56,437,80">
<area href="classeo_persistent.html" alt="eoPersistent" shape="rect" coords="596,56,884,80">
<area href="classeo_param.html" alt="eoParam" shape="rect" coords="894,56,1182,80">
<area href="classeo_functor_base.html" alt="eoFunctorBase" shape="rect" coords="0,0,288,24">
<area href="classeo_printable.html" alt="eoPrintable" shape="rect" coords="596,0,884,24">
</map>
<a href="classeo_gen_continue-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="a0" doxytag="eoGenContinue::eoGenContinue"></a>
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_gen_continue.html#a0">eoGenContinue</a> (unsigned long _totalGens)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ctor for setting a. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1" doxytag="eoGenContinue::eoGenContinue"></a>
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_gen_continue.html#a1">eoGenContinue</a> (unsigned long _totalGens, unsigned long &amp;_currentGen)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ctor for enabling the save/load the no. of generations counted. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2" doxytag="eoGenContinue::operator()"></a>
virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_gen_continue.html#a2">operator()</a> (const <a class="el" href="classeo_pop.html">eoPop</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt; &amp;_vEO)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns false when a certain number of generations is reached. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3" doxytag="eoGenContinue::totalGenerations"></a>
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_gen_continue.html#a3">totalGenerations</a> (unsigned long _tg)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the number of generations to reach and sets the current generation to 0 (the begin). <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4" doxytag="eoGenContinue::totalGenerations"></a>
virtual unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_gen_continue.html#a4">totalGenerations</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the number of generations to reach. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5" doxytag="eoGenContinue::className"></a>
virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><b>className</b> (void) const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_gen_continue.html#a6">readFrom</a> (std::istream &amp;__is)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read object. <a href="#a6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_gen_continue.html#a7">printOn</a> (std::ostream &amp;__os) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Write object. <a href="#a7"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o0" doxytag="eoGenContinue::verbose"></a>
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>verbose</b></td></tr>
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="r0" doxytag="eoGenContinue::repTotalGenerations"></a>
unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><b>repTotalGenerations</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="r1" doxytag="eoGenContinue::thisGenerationPlaceHolder"></a>
unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><b>thisGenerationPlaceHolder</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="r2" doxytag="eoGenContinue::thisGeneration"></a>
unsigned long &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>thisGeneration</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class EOT&gt;<br>
class eoGenContinue&lt; EOT &gt;</h3>
Generational continuator: continues until a number of generations is reached.
<p>
<p>
Definition at line <a class="el" href="eo_gen_continue_8h-source.html#l00034">34</a> of file <a class="el" href="eo_gen_continue_8h-source.html">eoGenContinue.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a6" doxytag="eoGenContinue::readFrom"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class EOT&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top">void <a class="el" href="classeo_gen_continue.html">eoGenContinue</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt;::readFrom </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">std::istream &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>__is</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline, virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Read object.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_is</em>&nbsp;</td><td>A std::istream. </td></tr>
</table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>runtime_std::exception</em>&nbsp;</td><td>If a valid object can't be read. </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classeo_continue.html#a1">eoContinue&lt; EOT &gt;</a>.
<p>
Definition at line <a class="el" href="eo_gen_continue_8h-source.html#l00083">83</a> of file <a class="el" href="eo_gen_continue_8h-source.html">eoGenContinue.h</a>. </td>
</tr>
</table>
<a class="anchor" name="a7" doxytag="eoGenContinue::printOn"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class EOT&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top">void <a class="el" href="classeo_gen_continue.html">eoGenContinue</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt;::printOn </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">std::ostream &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>__os</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [inline, virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Write object.
<p>
It's called printOn since it prints the object on a stream. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>_os</em>&nbsp;</td><td>A std::ostream. </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classeo_continue.html#a2">eoContinue&lt; EOT &gt;</a>.
<p>
Definition at line <a class="el" href="eo_gen_continue_8h-source.html#l00088">88</a> of file <a class="el" href="eo_gen_continue_8h-source.html">eoGenContinue.h</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="eo_gen_continue_8h-source.html">eoGenContinue.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Oct 19 05:06:49 2006 for EO by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
</body>
</html>