|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Abstract source of InterpretedParam mappings. More...
#include <IParamMappingSource.h>

Public Member Functions | |
| virtual | ~IParamMappingSource ()=default |
| virtual std::unordered_map< std::string, InterpretedParam > | loadFromFile (const std::string &filePath) const =0 |
| Loads all parameter mappings from a given file. | |
Abstract source of InterpretedParam mappings.
A mapping source is responsible for:
Example implementations:
Definition at line 33 of file IParamMappingSource.h.
|
virtualdefault |
|
pure virtual |
Loads all parameter mappings from a given file.
The exact file format (JSON, YAML, etc.) is implementation-specific.
| filePath | Path to the mapping file to load. |
| std::runtime_error | or derived exceptions if the file cannot be read or parsed correctly. |
Implemented in JsonParamMappingAdapter.