Wrap another function. More...

#include <Wrap.h>

Inherits Base.

Public Types

typedef Base::Result Result
 The return type of the evaluate method.
 

Public Member Functions

void wrap (Evaluable< Result > *_model)
 Set the function to wrap.
 

Protected Member Functions

void calculate (Result &result, std::vector< Result > *)
 The calculate method should never be called.
 

Protected Attributes

Reference::To< Evaluable< Result > > model
 The wrapped function.
 

Detailed Description

template<typename Base>
class MEAL::Wrap< Base >

Wrap another function.

The evaluation and parameter policies are copied, and the calculate method is implemented with a stub that should never be called.


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

Generated using doxygen 1.8.17