Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IMappingAdapterFactory.h
Go to the documentation of this file.
1#ifndef IMAPPINGADAPTERFACTORY_H
2#define IMAPPINGADAPTERFACTORY_H
3
4#include <memory>
5#include <string>
6
9
32public:
33 virtual ~IMappingAdapterFactory() = default;
34
52 virtual std::shared_ptr<IMappingDatabaseAdapter> create(
53 const std::string& instanceName,
54 const std::string& jsonFilePath,
55 std::shared_ptr<IParamMappingSource> loader
56 ) const = 0;
57};
58
59#endif // IMAPPINGADAPTERFACTORY_H
Interface for read-only access to a mapping database of parameters.
Interface for loading parameter mappings from an external source.
Factory interface for building IMappingDatabaseAdapter instances.
virtual std::shared_ptr< IMappingDatabaseAdapter > create(const std::string &instanceName, const std::string &jsonFilePath, std::shared_ptr< IParamMappingSource > loader) const =0
Creates a mapping database adapter from an underlying JSON-like file.
virtual ~IMappingAdapterFactory()=default