eoFunctorBase Class Reference

Base class for functors to get a nice hierarchy diagram. More...

#include <eoFunctor.h>

Inheritance diagram for eoFunctorBase:

eoBF< A1, A2, R > eoBF< Chrom &, Chrom &, bool > eoBF< const Dummy &, const Dummy &, double > eoBF< const eoPop< Chrom > &, eoPop< Chrom > &, void > eoBF< const eoPop< EOT > &, eoPop< EOT > &, void > eoBF< const eoPop< eoVector< FitT, double > > &, eoPop< eoVector< FitT, double > > &, void > eoBF< const EOT &, const EOT &, double > eoBF< double &, const double &, bool > eoBF< eoDistribution< EOT > &, eoPop< EOT > &, void > eoBF< eoParseTree< FType, Node > &, eoParseTree< FType, Node > &, bool > eoBF< eoPop< EOT > &, eoPop< EOT > &, void > eoBF< eoPop< EOT > &, unsigned, void > eoBF< eoPop< EoType > &, eoPop< EoType > &, void > eoBF< eoPop< PyEO > &, unsigned, void > eoBF< EOT &, const EOT &, bool > eoBF< EOT &, EOT &, bool > eoBF< EOType &, const EOType &, bool > eoBF< EoType &, const EoType &, bool > eoBF< EoType &, EoType &, bool > eoBF< EOType &, EOType &, bool > eoBF< eoVirus< FitT > &, const eoVirus< FitT > &, bool > eoBF< ExternalEO &, const ExternalEO &, bool > eoBF< ExternalEO &, ExternalEO &, bool > eoBF< GenotypeT &, GenotypeT &, bool > eoBF< PyEO &, const PyEO &, bool > eoBF< PyEO &, PyEO &, bool > eoBF< unsigned, Atom &, bool > eoF< R > eoF< bool > eoF< eoMonitor & > eoF< EOT > eoF< int > eoF< T > eoF< void > eoUF< A1, R > eoUF< bool &, bool > eoUF< bool &, void > eoUF< Chrom &, bool > eoUF< Chrom &, void > eoUF< const eoPop< EOT > &, bool > eoUF< const eoPop< EOT > &, const EOT & > eoUF< const eoPop< EOT > &, void > eoUF< const eoPop< EoType > &, void > eoUF< const eoPop< PyEO > &, const PyEO & > eoUF< const eoPop< PyEO > &, void > eoUF< const std::vector< const EOT * > &, void > eoUF< const std::vector< const EoType * > &, void > eoUF< const std::vector< const PyEO * > &, void > eoUF< eoDistribution< EOT > &, void > eoUF< eoDouble &, bool > eoUF< eoDouble &, void > eoUF< eoParseTree< FitnessType, Node > &, void > eoUF< eoParseTree< FType, Node > &, bool > eoUF< eoParseTree< FType, Node > &, void > eoUF< eoPop< EOT > &, void > eoUF< eoPopulator< EOT > &, void > eoUF< eoPopulator< PyEO > &, void > eoUF< EOT &, bool > eoUF< EOT &, unsigned int > eoUF< EOT &, void > eoUF< EoType &, bool > eoUF< EOType &, bool > eoUF< EoType &, void > eoUF< eoVector< FitT, double > &, void > eoUF< eoVirus< FitT > &, bool > eoUF< eoVirus< FitT > &, void > eoUF< ExternalEO &, bool > eoUF< ExternalEO &, void > eoUF< GenotypeT &, bool > eoUF< GenotypeT &, void > eoUF< int &, void > eoUF< PyEO &, bool > eoUF< T &, void > List of all members.

Public Member Functions

virtual ~eoFunctorBase ()
 virtual dtor here so there is no need to define it in derived classes

Detailed Description

Base class for functors to get a nice hierarchy diagram.

That's actually quite an understatement as it does quite a bit more than just that. By having all functors derive from the same base class, we can do some memory management that would otherwise be very hard.

The memory management base class is called eoFunctorStore, and it supports a member add() to add a pointer to a functor. When the functorStore is destroyed, it will delete all those pointers. So beware: do not delete the functorStore before you are done with anything that might have been allocated.

See also:
eoFunctorStore

Definition at line 46 of file eoFunctor.h.


The documentation for this class was generated from the following file:
Generated on Thu Oct 19 05:06:49 2006 for EO by  doxygen 1.3.9.1