|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Default implementation of IMappingDatabaseAdapter. More...
#include <DefaultMappingDatabaseAdapter.h>


Public Member Functions | |
| DefaultMappingDatabaseAdapter (std::string instanceName, std::shared_ptr< MappingDatabase > db) | |
| Constructs an adapter around a MappingDatabase instance. | |
| std::unordered_map< std::string, InterpretedParam > | getParams () const override |
| Returns the full parameter map from the backing database. | |
| std::optional< InterpretedParam > | getParam (const std::string &name) const override |
| Returns a single parameter mapping by name, if present. | |
| std::string | instanceName () const override |
| Returns the logical instance name of this adapter. | |
Public Member Functions inherited from IMappingDatabaseAdapter | |
| virtual | ~IMappingDatabaseAdapter ()=default |
Default implementation of IMappingDatabaseAdapter.
It wraps a MappingDatabase and:
Definition at line 26 of file DefaultMappingDatabaseAdapter.h.
|
inlineexplicit |
Constructs an adapter around a MappingDatabase instance.
| instanceName | Human-readable name for this mapping instance. |
| db | Shared pointer to the underlying MappingDatabase. |
Definition at line 34 of file DefaultMappingDatabaseAdapter.h.
|
inlineoverridevirtual |
Returns a single parameter mapping by name, if present.
| name | Parameter name. |
Implements IMappingDatabaseAdapter.
Definition at line 53 of file DefaultMappingDatabaseAdapter.h.
|
inlineoverridevirtual |
Returns the full parameter map from the backing database.
Implements IMappingDatabaseAdapter.
Definition at line 42 of file DefaultMappingDatabaseAdapter.h.
|
inlineoverridevirtual |
Returns the logical instance name of this adapter.
Implements IMappingDatabaseAdapter.
Definition at line 62 of file DefaultMappingDatabaseAdapter.h.