EvolvingObjects
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 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< POT > &, eoPop< POT > &, void > eoBF< eoPop< PyEO > &, unsigned, void > eoBF< eoRealBaseVectorBounds &, unsigned, void > eoBF< EOT &, const EOT &, bool > eoBF< EOT &, EOT &, bool > eoBF< EOType &, const EOType &, bool > eoBF< EOType &, EOType &, bool > eoBF< ExternalEO &, const ExternalEO &, bool > eoBF< ExternalEO &, ExternalEO &, bool > eoBF< POT &, unsigned, void > eoBF< PyEO &, const PyEO &, bool > eoBF< PyEO &, PyEO &, bool > eoBF< unsigned, Atom &, bool > eoF< R > eoF< bool > eoF< eoMonitor & > eoF< EOT > eoF< POT > eoF< T > eoF< void > eoInitializerBase< POT > eoInitializerBase< POT > eoUF< A1, R > eoUF< bool &, bool > eoUF< bool &, void > eoUF< Chrom &, bool > eoUF< const eoPop< EOT > &, bool > eoUF< const eoPop< EOT > &, const EOT & > eoUF< const eoPop< EOT > &, void > eoUF< const eoPop< PyEO > &, const PyEO & > eoUF< const eoPop< PyEO > &, void > eoUF< const std::vector< const EOT * > &, void > eoUF< const std::vector< const PyEO * > &, void > eoUF< double &, void > eoUF< eoDistribution< EOT > &, void > eoUF< eoParseTree< FType, Node > &, bool > eoUF< eoParseTree< FType, Node > &, void > eoUF< eoPop< EOT > &, void > eoUF< eoPop< POT > &, void > eoUF< eoPopulator< EOT > &, void > eoUF< eoPopulator< PyEO > &, void > eoUF< EOT &, bool > eoUF< EOT &, unsigned int > eoUF< EOT &, void > eoUF< EOType &, bool > eoUF< eoVector< FitT, double > &, void > eoUF< ExternalEO &, bool > eoUF< ExternalEO &, void > eoUF< int, void > eoUF< POT &, void > eoUF< PyEO &, bool > eoUF< T &, void > eoUF< WeightType &, void >

List of all members.

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...

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 50 of file eoFunctor.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends