|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Abstract provider of Node-based views of external data. More...
#include <IDBNodeProvider.h>

Public Member Functions | |
| IDBNodeProvider (fs::path src_path_) | |
| Constructs a provider bound to a given source path. | |
| virtual | ~IDBNodeProvider ()=default |
| virtual std::shared_ptr< DBNode > | provide_db_as_node ()=0 |
| Returns the underlying data as a DBNode tree. | |
Protected Attributes | |
| fs::path | src_path |
Abstract provider of Node-based views of external data.
An IDBNodeProvider typically:
Concrete implementations in this project:
Definition at line 31 of file IDBNodeProvider.h.
|
inline |
Constructs a provider bound to a given source path.
| src_path | Location of the backing resource to read from. |
Definition at line 41 of file IDBNodeProvider.h.
|
virtualdefault |
|
pure virtual |
Returns the underlying data as a DBNode tree.
Implementations are free to choose how they obtain the DBNode:
| std::runtime_error | or implementation-specific exceptions in case of I/O or parsing failures. |
Implemented in DictDBNodeProvider, and LhaDBNodeProvider.
|
protected |
Definition at line 33 of file IDBNodeProvider.h.