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 const Dummy &, Dummy &, double > eoBF< const double &, double &, bool > eoBF< const Dummy &, Dummy &, bool > eoBF< const eoDouble &, eoDouble &, bool > eoBF< const eoParseTree< FType, Node > &, eoParseTree< FType, Node > &, bool > eoBF< const eoPop< Chrom > &, eoPop< Chrom > &, void > eoBF< const eoPop< Dummy > &, eoPop< Dummy > &, void > eoBF< const eoPop< eoVector< eoScalarFitness< ScalarType, Compare >, double > > &, eoPop< eoVector< eoScalarFitness< ScalarType, Compare >, double > > &, void > eoBF< const EOType &, EOType &, bool > eoBF< const eoVirus< eoScalarFitness< ScalarType, Compare > > &, eoVirus< eoScalarFitness< ScalarType, Compare > > &, bool > eoBF< const ExternalEO &, ExternalEO &, bool > eoBF< const PyEO &, PyEO &, bool > eoBF< eoDistribution< Dummy > &, eoPop< Dummy > &, void > eoBF< eoParseTree< FType, Node > &, eoParseTree< FType, Node > &, bool > eoBF< eoPop< Dummy > &, eoPop< Dummy > &, void > eoBF< eoPop< Dummy > &, unsigned, void > eoBF< eoPop< eoParseTree< FType, Node > > &, eoPop< eoParseTree< FType, Node > > &, void > eoBF< eoPop< POT > &, eoPop< POT > &, void > eoBF< eoPop< PyEO > &, unsigned, void > eoBF< eoRealBaseVectorBounds &, unsigned, void > eoBF< EOType &, EOType &, bool > eoBF< ExternalEO &, ExternalEO &, bool > eoBF< GenotypeT &, GenotypeT &, bool > eoBF< POT &, unsigned, void > eoBF< PyEO &, PyEO &, bool > eoBF< unsigned, Atom &, bool > eoF< R > eoF< bool > eoF< Dummy > eoF< eoMonitor & > eoF< int > eoF< POT > eoF< T > eoF< void > eoUF< A1, R > eoUF< bool &, bool > eoUF< bool &, void > eoUF< Chrom &, bool > eoUF< Chrom &, void > eoUF< const const eoPop< Dummy > &, Dummy & > eoUF< const const eoPop< PyEO > &, PyEO & > eoUF< const const std::vector< Dummy * > &, void > eoUF< const const std::vector< eoParseTree< FType, Node > * > &, void > eoUF< const const std::vector< PyEO * > &, void > eoUF< const eoPop< Dummy > &, bool > eoUF< const eoPop< Dummy > &, void > eoUF< const eoPop< eoParseTree > &, void > eoUF< const eoPop< eoParseTree< FType, Node > > &, void > eoUF< const eoPop< PyEO > &, void > eoUF< double &, void > eoUF< Dummy &, bool > eoUF< Dummy &, unsigned int > eoUF< Dummy &, void > eoUF< eoDistribution< Dummy > &, void > eoUF< eoDouble &, bool > eoUF< eoDouble &, void > eoUF< eoParseTree< eoParetoFitness< FitnessTraits >, Node > &, void > eoUF< eoParseTree< FType, Node > &, bool > eoUF< eoParseTree< FType, Node > &, void > eoUF< eoPop< Dummy > &, void > eoUF< eoPop< POT > &, void > eoUF< eoPopulator< Dummy > &, void > eoUF< eoPopulator< PyEO > &, void > eoUF< EOType &, bool > eoUF< eoVector< eoScalarFitness< ScalarType, Compare >, double > &, void > eoUF< eoVirus< eoScalarFitness< ScalarType, Compare > > &, bool > eoUF< eoVirus< eoScalarFitness< ScalarType, Compare > > &, void > eoUF< ExternalEO &, bool > eoUF< ExternalEO &, void > eoUF< GenotypeT &, bool > eoUF< GenotypeT &, void > eoUF< int &, void > eoUF< POT &, void > eoUF< PyEO &, bool > eoUF< T &, void > eoUF< WeightType &, void >

List of all members.

Public Member Functions

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

Classes

struct  binary_function_tag
 tag to identify a binary function in compile time function selection More...
struct  procedure_tag
 tag to identify a procedure in compile time function selection More...
struct  unary_function_tag
 tag to identify a unary function in compile time function selection More...


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 Jan 1 23:19:46 2009 for EvolvingObjects by  doxygen 1.5.5