Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
DBNodeProviderFactory.h
Go to the documentation of this file.
1#ifndef NODEPROVIDERFACTORY_H
2#define NODEPROVIDERFACTORY_H
3
4#include <memory>
5#include "IDBNodeProvider.h"
7#include "LhaDBNodeProvider.h"
8#include "DBManager.h"
9
29public:
37 enum class Type { DICT, LHA };
38
53 static std::shared_ptr<IDBNodeProvider> createDBNodeProvider(fs::path src_path);
54};
55
56#endif // NODEPROVIDERFACTORY_H
High-level interface to load and save DBNodetrees from/to various file formats.
IDBNodeProvider implementation for dictionary-like formats (JSON/YAML).
Interface for objects that expose a database/configuration as a DBNode tree.
IDBNodeProvider implementation backed by an LHA/SLHA/FLHA file.
Central factory for building concrete IDBNodeProvider objects.
Type
High-level type of node provider.
static std::shared_ptr< IDBNodeProvider > createDBNodeProvider(fs::path src_path)
Creates an IDBNodeProvider for a given file path.