#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. |
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.
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 EO< F >, eoContinue< EOT >, eoGenContinue< EOT >, eoPop< EOT >, eoSecondsElapsedContinue< EOT >, eoVector< FitT, GeneType >, eoVectorParticle< FitT, PositionType, VelocityType >, eoEsFull< Fit >, eoEsSimple< Fit >, eoEsStdev< Fit >, eoBit< FitT >, eoPBILDistrib< EOT >, eoExternalEO< Fit, External >, eoString< fitnessT >, PO< F >, eoHowMany, eoIntNoBounds, eoIntInterval, eoIntBelowBound, eoIntAboveBound, eoGeneralIntBounds, eoParser, eoRealNoBounds, eoRealInterval, eoRealBelowBound, eoRealAboveBound, eoGeneralRealBounds, eoRealVectorBounds, eoRng, Dummy, Dummy, Dummy, Dummy, EO< double >, EO< EOT::Fitness >, EO< phenotype >, EO< fitnessT >, EO< eoScalarFitness >, EO< Fit >, EO< Fitness >, EO< eoScalarFitness< ScalarType, Compare > >, EO< PyFitness >, eoContinue< Dummy >, eoContinue< POT >, eoPop< PyEO >, eoPop< Dummy >, eoPop< POT >, eoVector< Fit, double >, eoVector< eoScalarFitness, bool >, eoVector< eoScalarFitness, double >, eoVector< eoScalarFitness, int >, eoVectorParticle< eoScalarFitness, double, double >, eoVectorParticle< eoScalarFitness, bool, double >, eoBit< eoScalarFitness >, and PO< eoScalarFitness >.
Referenced by eoGeneralRealBounds::printOn(), and eoGeneralIntBounds::printOn().