eoPrintable Class Reference

Base class for objects that can print themselves (printOn#). More...

#include <eoPrintable.h>

Inheritance diagram for eoPrintable:

eoPersistent EO< F > EO< double > EO< eoScalarFitness > EO< eoScalarFitness< ScalarType, Compare > > EO< EOT::Fitness > EO< Fit > EO< Fitness > EO< fitnessT > EO< phenotype > EO< PyFitness > eoContinue< EOT > eoDistribution< EOT > eoDistribution< Dummy > eoHowMany eoIntBounds eoParser eoPop< EOT > eoPop< POT > eoPop< PyEO > eoRealBounds eoRealVectorBounds eoRng

List of all members.

Public Member Functions

virtual ~eoPrintable ()
 Virtual dtor. They are needed in virtual class hierarchies.
virtual void printOn (std::ostream &_os) const =0
 Write object.


Detailed Description

Base class for objects that can print themselves (printOn#).

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 eoObject, since it makes no sense to print some objects (for instance, a eoFactory# or a random number generator.

Definition at line 43 of file eoPrintable.h.


Member Function Documentation

virtual void eoPrintable::printOn ( std::ostream &  _os  )  const [pure virtual]


The documentation for this class was generated from the following file:

Generated on Thu Jan 1 23:19:49 2009 for EvolvingObjects by  doxygen 1.5.5