eoBF< A1, A2, R > Class Template Reference

Basic Binary Functor. More...

#include <eoFunctor.h>

Inheritance diagram for eoBF< A1, A2, R >:

eoFunctorBase eoBinOp< EOType > eoBinOp< double > eoBinOp< eoDouble > eoBinOp< eoParseTree > eoBinOp< eoVirus< eoScalarFitness > > eoBinOp< ExternalEO > eoBinOp< PyEO > eoBreed< EOT > eoBreed< eoVector< eoScalarFitness, double > > eoDistance< EOT > eoDistribUpdater< EOT > eoPopEvalFunc< EOT > eoPopEvalFunc< eoParseTree > eoQuadOp< eoParseTree > eoReduce< EOT > eoReduceSplit< EOT > eoReplacement< EOT > eoSelect< EOT > eoSurviveAndDie< EOT >

List of all members.

Public Member Functions

virtual ~eoBF ()
 virtual dtor here so there is no need to define it in derived classes
virtual R operator() (A1, A2)=0
 The pure virtual function that needs to be implemented by the subclass.

Static Public Member Functions

functor_category ()
 tag to identify a procedure in compile time function selection

Detailed Description

template<class A1, class A2, class R>
class eoBF< A1, A2, R >

Basic Binary Functor.

Derive from this class when defining any binary function. First template argument is result_type, second is first_argument_type, third is second_argument_type. Argument and result types can be any type including void for result_type

Definition at line 145 of file eoFunctor.h.

Member Function Documentation

template<class A1, class A2, class R>
static eoFunctorBase::binary_function_tag eoBF< A1, A2, R >::functor_category (  )  [inline, static]

tag to identify a procedure in compile time function selection

See also:

Definition at line 159 of file eoFunctor.h.

The documentation for this class was generated from the following file:

Generated on Thu Jan 1 23:19:44 2009 for EvolvingObjects by  doxygen 1.5.5