|
EvolvingObjects
|
Base class for objects that can print themselves (printOn#). More...
#include <eoPrintable.h>
Public Member Functions | |
| virtual | ~eoPrintable () |
| Virtual dtor. They are needed in virtual class hierarchies. | |
| virtual void | printOn (std::ostream &_os) const =0 |
| Write object. | |
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<<".
Definition at line 45 of file eoPrintable.h.
| virtual void eoPrintable::printOn | ( | std::ostream & | _os | ) | const [pure virtual] |
Write object.
It's called printOn since it prints the object on a stream.
| _os | A std::ostream. |
Implemented in eoGeneralIntBounds, eoGeneralRealBounds, eoIntAboveBound, eoRealAboveBound, eoIntBelowBound, eoRealBelowBound, eoIntInterval, eoPop< EOT >, eoPop< PyEO >, eoPop< POT >, eoRng, eoRealInterval, eoRealVectorBounds, eoIntNoBounds, eoRealNoBounds, EO< F >, PO< F >, EO< EOT::Fitness >, EO< FitT >, EO< fitnessT >, EO< Fit >, EO< FType >, EO< PyFitness >, PO< FitT >, eoParser, eoHowMany, eoVectorParticle< FitT, PositionType, VelocityType >, eoVectorParticle< FitT, double, double >, eoVectorParticle< FitT, bool, double >, eoParseTree< FType, Node >, eoVector< FitT, GeneType >, eoVector< Fit, double >, eoVector< FitT, int >, eoVector< FitT, double >, eoVector< FitT, bool >, eoGenContinue< EOT >, eoBit< FitT >, eoExternalEO< Fit, External >, eoPBILDistrib< EOT >, eoSecondsElapsedContinue< EOT >, eoContinue< EOT >, eoContinue< POT >, eoString< fitnessT >, eoEsFull< Fit >, eoEsSimple< Fit >, and eoEsStdev< Fit >.
Referenced by eoGeneralRealBounds::printOn(), and eoGeneralIntBounds::printOn().