EvolvingObjects
eoExternalMonOp< F, External, ExternalEO > Class Template Reference

Mutation of external struct, ctor expects a function of the following signature: More...

#include <eoExternalOpFunctions.h>

Inheritance diagram for eoExternalMonOp< F, External, ExternalEO >:
eoMonOp< ExternalEO > eoOp< ExternalEO > eoUF< ExternalEO &, bool > eoFunctorBase unary_function

List of all members.

Public Member Functions

 eoExternalMonOp (bool(*_mutate)(External &))
bool operator() (ExternalEO &eo)
 The pure virtual function that needs to be implemented by the subclass.

Private Attributes

bool(* mutate )(External &)

Detailed Description

template<class F, class External, class ExternalEO = eoExternalEO<F, External>>
class eoExternalMonOp< F, External, ExternalEO >

Mutation of external struct, ctor expects a function of the following signature:

bool func(External&);

Where External is the user defined struct or class. The function should return true when it changed something, false otherwise

Examples:
t-eoExternalEO.cpp.

Definition at line 108 of file eoExternalOpFunctions.h.


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