Wrapper around old-style models stored in global arrays and referenced by index.
More...
#include <newModels.h>
template<typename ModelBase, typename LegacyModelType, const std::vector< LegacyModelType > & ModelArray>
class NewModels::LegacyWrapper< ModelBase, LegacyModelType, ModelArray >
Wrapper around old-style models stored in global arrays and referenced by index.
◆ LegacyWrapper()
template<typename ModelBase, typename LegacyModelType, const std::vector< LegacyModelType > & ModelArray>
◆ getDerivedParams()
template<typename ModelBase, typename LegacyModelType, const std::vector< LegacyModelType > & ModelArray>
Gets names of derived model parameters and the function objects to call to Calculate their value from a vector of model parameter values
◆ getParamNames()
template<typename ModelBase, typename LegacyModelType, const std::vector< LegacyModelType > & ModelArray>
Gets names of of (independent) model parameters.
◆ getVars()
template<typename ModelBase, typename LegacyModelType, const std::vector< LegacyModelType > & ModelArray>
Gets names and types (as strings) of model variables.
◆ zipStringVectors()
template<typename ModelBase, typename LegacyModelType, const std::vector< LegacyModelType > & ModelArray>
static StringPairVec NewModels::LegacyWrapper< ModelBase, LegacyModelType, ModelArray >::zipStringVectors |
( |
const StringVec & |
a, |
|
|
const StringVec & |
b |
|
) |
| |
|
inlinestaticprotected |
◆ m_LegacyTypeIndex
template<typename ModelBase, typename LegacyModelType, const std::vector< LegacyModelType > & ModelArray>
Index into the array of legacy models.
The documentation for this class was generated from the following file: