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
7
#include "
IMappingDatabaseAdapter.h
"
8
#include "
IParamMappingSource.h
"
9
31
class
IMappingAdapterFactory
{
32
public
:
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
IMappingDatabaseAdapter.h
Interface for read-only access to a mapping database of parameters.
IParamMappingSource.h
Interface for loading parameter mappings from an external source.
IMappingAdapterFactory
Factory interface for building IMappingDatabaseAdapter instances.
Definition
IMappingAdapterFactory.h:31
IMappingAdapterFactory::create
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.
IMappingAdapterFactory::~IMappingAdapterFactory
virtual ~IMappingAdapterFactory()=default
Hyperiso
core
src
DataBase
ports
IMappingAdapterFactory.h
Generated by
1.9.8