Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
DictDBNodeProvider.h
Go to the documentation of this file.
1#ifndef DICTNODEPROVIDER_H
2#define DICTNODEPROVIDER_H
3
4#include "IDBNodeProvider.h"
5#include "DBManager.h"
6
22public:
28 DictDBNodeProvider(fs::path src_path_) : IDBNodeProvider(src_path_) {}
29
38 std::shared_ptr<DBNode> provide_db_as_node() override;
39};
40
41#endif // DICTNODEPROVIDER_H
High-level interface to load and save DBNodetrees from/to various file formats.
Interface for objects that expose a database/configuration as a DBNode tree.
DBNode provider for JSON/YAML configuration files.
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.
Abstract provider of Node-based views of external data.