Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
MartyModelPathAPI.h
Go to the documentation of this file.
1#ifndef MARTYMODELPATHAPI_H
2#define MARTYMODELPATHAPI_H
3
4#include "MartyAdapter.h"
5#include "Config.h"
6#include "ICoreAPI.h"
7
33class MartyModelPathAPI : public ICoreAPI<fs::path> {
34public:
40 inline fs::path get() override { return MartyAdapter().get_path(MartyPath::MODEL_FILE); }
41};
42
43#endif // MARTYMODELNAMEAPI_H
Core-side adapter giving MARTY access to configuration and managed paths.
Generic interface returning a single value of type T from the core.
Definition ICoreAPI.h:30
fs::path get_path(MartyPath path_name) override
Retrieves a required MARTY-related path.
Core API returning the path to the MARTY model file.
fs::path get() override
Returns the filesystem path to the MARTY model file.