|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
DBNode provider for JSON/YAML configuration files. More...
#include <DictDBNodeProvider.h>


Public Member Functions | |
| DictDBNodeProvider (fs::path src_path_) | |
| Constructs a provider bound to a specific JSON/YAML file path. | |
| std::shared_ptr< DBNode > | provide_db_as_node () override |
| Loads the underlying file and returns it as a DBNode tree. | |
Public Member Functions inherited from IDBNodeProvider | |
| IDBNodeProvider (fs::path src_path_) | |
| Constructs a provider bound to a given source path. | |
| virtual | ~IDBNodeProvider ()=default |
Additional Inherited Members | |
Protected Attributes inherited from IDBNodeProvider | |
| fs::path | src_path |
DBNode provider for JSON/YAML configuration files.
This provider is the counterpart of LhaDBNodeProvider for dictionary-based formats such as JSON and YAML.
Definition at line 21 of file DictDBNodeProvider.h.
|
inline |
Constructs a provider bound to a specific JSON/YAML file path.
| src_path | Path to the input configuration file. |
Definition at line 28 of file DictDBNodeProvider.h.
|
overridevirtual |
Loads the underlying file and returns it as a DBNode tree.
Internally this delegates to DBManager::read_from_file(), which in turn selects the appropriate parser based on the file extension.
Implements IDBNodeProvider.
Definition at line 3 of file DictDBNodeProvider.cpp.