#include <alpaqa/dl/dl-problem.hpp>
Definition at line 16 of file dl-problem.hpp.
|
| ExtraFuncs ()=default |
|
| ExtraFuncs (std::shared_ptr< function_dict_t > &&extra_funcs) |
|
template<class Signature >
requires std::is_function_v<Signature> |
const std::function< Signature > & | extra_func (const std::string &name) const |
|
template<class Ret , class... FArgs, class... Args> |
decltype(auto) | call_extra_func_helper (const void *instance, FuncTag< Ret(const instance_t *, FArgs...)>, const std::string &name, Args &&...args) const |
|
template<class Ret , class... FArgs, class... Args> |
decltype(auto) | call_extra_func_helper (void *instance, FuncTag< Ret(instance_t *, FArgs...)>, const std::string &name, Args &&...args) |
|
template<class Ret , class... FArgs, class... Args> |
decltype(auto) | call_extra_func_helper (const void *, FuncTag< Ret(FArgs...)>, const std::string &name, Args &&...args) const |
|
◆ alpaqa::dl::ExtraFuncs::FuncTag
struct alpaqa::dl::ExtraFuncs::FuncTag |
◆ ExtraFuncs() [1/2]
◆ ExtraFuncs() [2/2]
◆ extra_func()
const std::function< Signature > & extra_func |
( |
const std::string & |
name | ) |
const |
|
inline |
◆ call_extra_func_helper() [1/3]
decltype(auto) call_extra_func_helper |
( |
const void * |
instance, |
|
|
FuncTag< Ret(const instance_t *, FArgs...)> |
, |
|
|
const std::string & |
name, |
|
|
Args &&... |
args |
|
) |
| const |
|
inline |
◆ call_extra_func_helper() [2/3]
decltype(auto) call_extra_func_helper |
( |
void * |
instance, |
|
|
FuncTag< Ret(instance_t *, FArgs...)> |
, |
|
|
const std::string & |
name, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
◆ call_extra_func_helper() [3/3]
decltype(auto) call_extra_func_helper |
( |
const void * |
, |
|
|
FuncTag< Ret(FArgs...)> |
, |
|
|
const std::string & |
name, |
|
|
Args &&... |
args |
|
) |
| const |
|
inline |
◆ extra_functions
An associative array of additional functions exposed by the problem.
Definition at line 26 of file dl-problem.hpp.
The documentation for this class was generated from the following file: