Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
DefaultInterpreterPortsFactory.h
Go to the documentation of this file.
1#ifndef DEFAULT_INTERPRETER_PORTS_FACTORY_H
2#define DEFAULT_INTERPRETER_PORTS_FACTORY_H
3
4#include <memory>
5
7
18
32public:
34 std::shared_ptr<IMappingAdapterFactory> adapterFactory = nullptr,
35 std::shared_ptr<IParamMappingSource> loader = nullptr
36 );
37
45 std::unique_ptr<IParameterResolver>
46 makeResolver(const std::string& modelName,
47 const std::string& modelJsonPath,
48 const std::string& smJsonPath) const override;
49
50private:
51 std::shared_ptr<IMappingAdapterFactory> adapterFactory_;
52 std::shared_ptr<IParamMappingSource> loader_;
53};
54
55#endif
Declares a factory interface for building parameter resolvers.
Default implementation of IInterpreterPortsFactory.
std::unique_ptr< IParameterResolver > makeResolver(const std::string &modelName, const std::string &modelJsonPath, const std::string &smJsonPath) const override
Creates a new IParameterResolver for the given model.
Factory interface for creating parameter resolver objects.
Factory interface for building IMappingDatabaseAdapter instances.
Abstract source of InterpretedParam mappings.