Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
DictDBNodeProvider.cpp
Go to the documentation of this file.
2
3std::shared_ptr<DBNode> DictDBNodeProvider::provide_db_as_node() {
4 return DBManager().read_from_file(this->src_path);
5}
IDBNodeProvider implementation for dictionary-like formats (JSON/YAML).
Front-end for reading and writing structured data as DBNodetrees.
Definition DBManager.h:46
std::shared_ptr< DBNode > read_from_file(fs::path file_path)
Reads a structured file and returns its DBNoderepresentation.
Definition DBManager.cpp:62
std::shared_ptr< DBNode > provide_db_as_node() override
Loads the underlying file and returns it as a DBNode tree.