|
Jpp
18.2.0
the software that should make you happy
|
Template definition of function object interface. More...
#include <JFunctional.hh>
Classes | |
| struct | JDefaultResult |
| Exception handler for functional object using default result. More... | |
| struct | JExceptionHandler |
| Exception handler for functional object. More... | |
| class | JSupervisor |
| Place holder for exception handler. More... | |
Public Types | |
| typedef JArgument_t | argument_type |
| typedef JResult_t | result_type |
| typedef JFunctional < argument_type, result_type > | functional_type |
| typedef JSupervisor | supervisor_type |
Public Member Functions | |
| virtual result_type | evaluate (const argument_type *pX) const =0 |
| Recursive function value evaluation. More... | |
| JSupervisor | getSupervisor () const |
| Get supervisor. More... | |
| const JExceptionHandler & | getExceptionHandler () const |
| Get exception handler. More... | |
| void | setExceptionHandler (const JSupervisor &supervisor) |
| Set the supervisor for handling of exceptions. More... | |
Static Public Member Functions | |
| static result_type | getValue (const JFunctional &function, const argument_type *pX) |
| Recursive function value evaluation. More... | |
| static JClass< result_type > ::argument_type | getValue (typename JClass< result_type >::argument_type value, const argument_type *pX) |
| Termination of recursive function value evaluation. More... | |
Protected Member Functions | |
| JFunctional () | |
| Default constructor. More... | |
Protected Attributes | |
| JSupervisor | supervisor |
Template definition of function object interface.
Template definition of recursive function value evaluation.
Definition at line 32 of file JFunctional.hh.
| typedef JArgument_t JTOOLS::JFunctional< JArgument_t, JResult_t >::argument_type |
Definition at line 84 of file JFunctional.hh.
| typedef JResult_t JTOOLS::JFunctional< JArgument_t, JResult_t >::result_type |
Definition at line 87 of file JFunctional.hh.
| typedef JFunctional<argument_type, result_type> JTOOLS::JFunctional< JArgument_t, JResult_t >::functional_type |
Definition at line 88 of file JFunctional.hh.
| typedef JSupervisor JTOOLS::JFunctional< JArgument_t, JResult_t >::supervisor_type |
Definition at line 89 of file JFunctional.hh.
|
inlineprotected |
Default constructor.
Definition at line 77 of file JFunctional.hh.
|
pure virtual |
Recursive function value evaluation.
| pX | pointer to abscissa values |
Implemented in JTOOLS::JSplineMap< JKey_t, JValue_t, JGridMap, JResultType< JValue_t >::result_type, JDistance_t >, JTOOLS::JSplineMap< JKey_t, JValue_t, JMap, JResultDerivative< JResultType< JValue_t >::result_type >, JDistance_t >, JTOOLS::JSplineMap< JKey_t, JValue_t, JMap, JResultType< JValue_t >::result_type, JDistance_t >, JTOOLS::JSplineMap< JKey_t, JValue_t, JGridMap, JResultDerivative< JResultType< JValue_t >::result_type >, JDistance_t >, JTOOLS::JConstantFunction1D< JArgument_t, JResult_t >, JTOOLS::JFunctionObject1D< JArgument_t, JResult_t >, and JTOOLS::JExternalFunction1D< JArgument_t, JResult_t >.
|
inlinestatic |
Recursive function value evaluation.
| function | function |
| pX | pointer to abscissa values |
Definition at line 107 of file JFunctional.hh.
|
inlinestatic |
Termination of recursive function value evaluation.
| value | result |
| pX | pointer to abscissa values |
Definition at line 121 of file JFunctional.hh.
|
inline |
|
inline |
|
inline |
Set the supervisor for handling of exceptions.
| supervisor | supervisor |
Definition at line 288 of file JFunctional.hh.
|
protected |
Definition at line 295 of file JFunctional.hh.
1.8.5