git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
105 lines
10 KiB
HTML
105 lines
10 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: eoPrintable Class 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 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 Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
|
|
<h1>eoPrintable Class Reference</h1>Base class for objects that can print themselves (<a class="el" href="classeo_printable.html#a1">printOn</a>#).
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="eo_printable_8h-source.html">eoPrintable.h</a>></code>
|
|
<p>
|
|
<p>Inheritance diagram for eoPrintable:
|
|
<p><center><img src="classeo_printable.png" usemap="#eoPrintable_map" border="0" alt=""></center>
|
|
<map name="eoPrintable_map">
|
|
<area href="classeo_persistent.html" alt="eoPersistent" shape="rect" coords="0,56,138,80">
|
|
<area href="class_e_o.html" alt="EO< F >" shape="rect" coords="148,112,286,136">
|
|
<area href="class_e_o.html" alt="EO< double >" shape="rect" coords="148,168,286,192">
|
|
<area href="class_e_o.html" alt="EO< EOT::Fitness >" shape="rect" coords="148,224,286,248">
|
|
<area href="class_e_o.html" alt="EO< Fit >" shape="rect" coords="148,280,286,304">
|
|
<area href="class_e_o.html" alt="EO< Fitness >" shape="rect" coords="148,336,286,360">
|
|
<area href="class_e_o.html" alt="EO< fitness_type >" shape="rect" coords="148,392,286,416">
|
|
<area href="class_e_o.html" alt="EO< fitnessT >" shape="rect" coords="148,448,286,472">
|
|
<area href="class_e_o.html" alt="EO< FitT >" shape="rect" coords="148,504,286,528">
|
|
<area href="class_e_o.html" alt="EO< FType >" shape="rect" coords="148,560,286,584">
|
|
<area href="class_e_o.html" alt="EO< phenotype >" shape="rect" coords="148,616,286,640">
|
|
<area href="class_e_o.html" alt="EO< PyFitness >" shape="rect" coords="148,672,286,696">
|
|
<area href="classeo_continue.html" alt="eoContinue< EOT >" shape="rect" coords="148,728,286,752">
|
|
<area href="classeo_distribution.html" alt="eoDistribution< EOT >" shape="rect" coords="148,784,286,808">
|
|
<area href="classeo_how_many.html" alt="eoHowMany" shape="rect" coords="148,840,286,864">
|
|
<area href="classeo_int_bounds.html" alt="eoIntBounds" shape="rect" coords="148,896,286,920">
|
|
<area href="classeo_parser.html" alt="eoParser" shape="rect" coords="148,952,286,976">
|
|
<area href="classeo_pop.html" alt="eoPop< EOT >" shape="rect" coords="148,1008,286,1032">
|
|
<area href="classeo_pop.html" alt="eoPop< Dummy >" shape="rect" coords="148,1064,286,1088">
|
|
<area href="classeo_pop.html" alt="eoPop< PyEO >" shape="rect" coords="148,1120,286,1144">
|
|
<area href="classeo_real_bounds.html" alt="eoRealBounds" shape="rect" coords="148,1176,286,1200">
|
|
<area href="classeo_real_vector_bounds.html" alt="eoRealVectorBounds" shape="rect" coords="148,1232,286,1256">
|
|
<area href="classeo_rng.html" alt="eoRng" shape="rect" coords="148,1288,286,1312">
|
|
</map>
|
|
<a href="classeo_printable-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="eoPrintable::~eoPrintable"></a>
|
|
virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_printable.html#a0">~eoPrintable</a> ()</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Virtual dtor. They are needed in virtual class hierarchies. <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_printable.html#a1">printOn</a> (std::ostream &_os) const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Write object. <a href="#a1"></a><br></td></tr>
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
Base class for objects that can print themselves (<a class="el" href="classeo_printable.html#a1">printOn</a>#).
|
|
<p>
|
|
Besides, this file defines the standard output for all the objects; if the objects define printOn there's no need to define #operator <<#.\ This functionality was separated from <a class="el" href="classeo_object.html">eoObject</a>, since it makes no sense to print some objects (for instance, a <a class="el" href="classeo_factory.html">eoFactory</a># or a random number generator.
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="eo_printable_8h-source.html#l00043">43</a> of file <a class="el" href="eo_printable_8h-source.html">eoPrintable.h</a>.<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="a1" doxytag="eoPrintable::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" nowrap valign="top">virtual void eoPrintable::printOn </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">std::ostream & </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>_os</em> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</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> </td><td>A std::ostream. </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Implemented in <a class="el" href="class_e_o.html#z10_2">EO< F ></a>, <a class="el" href="classeo_continue.html#a2">eoContinue< EOT ></a>, <a class="el" href="classeo_gen_continue.html#a7">eoGenContinue< EOT ></a>, <a class="el" href="classeo_pop.html#a18">eoPop< EOT ></a>, <a class="el" href="classeo_vector.html#a4">eoVector< FitT, GeneType ></a>, <a class="el" href="classeo_es_full.html#a2">eoEsFull< Fit ></a>, <a class="el" href="classeo_es_simple.html#a2">eoEsSimple< Fit ></a>, <a class="el" href="classeo_es_stdev.html#a2">eoEsStdev< Fit ></a>, <a class="el" href="classeo_bit.html#a2">eoBit< FitT ></a>, <a class="el" href="classeo_p_b_i_l_distrib.html#a3">eoPBILDistrib< EOT ></a>, <a class="el" href="classeo_parse_tree.html#a5">eoParseTree< FType, Node ></a>, <a class="el" href="classeo_external_e_o.html#a4">eoExternalEO< Fit, External ></a>, <a class="el" href="classeo_string.html#z24_1">eoString< fitnessT ></a>, <a class="el" href="classeo_how_many.html#a5">eoHowMany</a>, <a class="el" href="classeo_int_no_bounds.html#a14">eoIntNoBounds</a>, <a class="el" href="classeo_int_interval.html#a15">eoIntInterval</a>, <a class="el" href="classeo_int_below_bound.html#a15">eoIntBelowBound</a>, <a class="el" href="classeo_int_above_bound.html#a15">eoIntAboveBound</a>, <a class="el" href="classeo_general_int_bounds.html#a18">eoGeneralIntBounds</a>, <a class="el" href="classeo_parser.html#a3">eoParser</a>, <a class="el" href="classeo_real_no_bounds.html#a13">eoRealNoBounds</a>, <a class="el" href="classeo_real_interval.html#a14">eoRealInterval</a>, <a class="el" href="classeo_real_below_bound.html#a14">eoRealBelowBound</a>, <a class="el" href="classeo_real_above_bound.html#a14">eoRealAboveBound</a>, <a class="el" href="classeo_general_real_bounds.html#a17">eoGeneralRealBounds</a>, <a class="el" href="classeo_real_vector_bounds.html#a9">eoRealVectorBounds</a>, <a class="el" href="classeo_rng.html#a16">eoRng</a>, <a class="el" href="struct_dummy.html#a1">Dummy</a>, <a class="el" href="struct_dummy.html#a2">Dummy</a>, <a class="el" href="struct_dummy.html#a3">Dummy</a>, <a class="el" href="struct_dummy.html#a4">Dummy</a>, <a class="el" href="class_e_o.html#z10_2">EO< double ></a>, <a class="el" href="class_e_o.html#z10_2">EO< EOT::Fitness ></a>, <a class="el" href="class_e_o.html#z10_2">EO< FitT ></a>, <a class="el" href="class_e_o.html#z10_2">EO< phenotype ></a>, <a class="el" href="class_e_o.html#z10_2">EO< fitnessT ></a>, <a class="el" href="class_e_o.html#z10_2">EO< Fit ></a>, <a class="el" href="class_e_o.html#z10_2">EO< FType ></a>, <a class="el" href="class_e_o.html#z10_2">EO< fitness_type ></a>, <a class="el" href="class_e_o.html#z10_2">EO< Fitness ></a>, <a class="el" href="class_e_o.html#z10_2">EO< PyFitness ></a>, <a class="el" href="classeo_pop.html#a18">eoPop< PyEO ></a>, <a class="el" href="classeo_pop.html#a18">eoPop< Dummy ></a>, <a class="el" href="classeo_vector.html#a4">eoVector< Fit, double ></a>, <a class="el" href="classeo_vector.html#a4">eoVector< FitT, double ></a>, and <a class="el" href="classeo_vector.html#a4">eoVector< FitT, bool ></a>.
|
|
<p>
|
|
Referenced by <a class="el" href="eo_real_vector_bounds_8h-source.html#l00313">eoRealVectorBounds::printOn()</a>, <a class="el" href="eo_real_bounds_8h-source.html#l00629">eoGeneralRealBounds::printOn()</a>, <a class="el" href="eo_int_bounds_8h-source.html#l00669">eoGeneralIntBounds::printOn()</a>, and <a class="el" href="eo_state_8cpp-source.html#l00161">eoState::save()</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="eo_printable_8h-source.html">eoPrintable.h</a></ul>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Thu Oct 19 05:06:53 2006 for EO by
|
|
<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>
|