adapter for functions that take one parameter from a vector of parameters
More...
#include <orbtree.h>
|
typedef NVFunc::result_type | result_type |
| definition of result for the tree class to use
|
|
|
unsigned int | get_nr () const |
| number of component values returned is the same as the number of parameters
|
|
void | operator() (const typename NVFunc::argument_type &node_value, result_type *res) const |
| calculate the result of the given function for the given value with each of the parameters
|
|
| NVFunc_Adapter_Vec (const std::vector< typename NVFunc::ParType > &pars_, const NVFunc &f_=NVFunc()) |
| this adapter can only be constructed with a parameter vector
|
|
| NVFunc_Adapter_Vec (std::vector< typename NVFunc::ParType > &&pars_, const NVFunc &f_=NVFunc()) |
| this adapter can only be constructed with a parameter vector
|
|
| NVFunc_Adapter_Vec (const std::vector< typename NVFunc::ParType > &pars_, NVFunc &&f_) |
| this adapter can only be constructed with a parameter vector
|
|
| NVFunc_Adapter_Vec (std::vector< typename NVFunc::ParType > &&pars_, NVFunc &&f_) |
| this adapter can only be constructed with a parameter vector
|
|
|
NVFunc | f |
|
const std::vector< typename NVFunc::ParType > | pars |
| copy of the parameters
|
|
template<class NVFunc>
struct orbtree::NVFunc_Adapter_Vec< NVFunc >
adapter for functions that take one parameter from a vector of parameters
- Template Parameters
-
NVFunc | Function object to adapt. Should be a function that takes one extra parameter of type NVFunc::ParType beside the key / value stored in the tree |
The documentation for this struct was generated from the following file: