Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IInterpreterPortsFactory Class Referenceabstract

Factory interface for creating parameter resolver objects. More...

#include <IInterpreterPortsFactory.h>

Inheritance diagram for IInterpreterPortsFactory:

Public Member Functions

virtual ~IInterpreterPortsFactory ()=default
 
virtual std::unique_ptr< IParameterResolvermakeResolver (const std::string &modelName, const std::string &modelJsonPath, const std::string &smJsonPath) const =0
 Creates a new IParameterResolver instance.
 

Detailed Description

Factory interface for creating parameter resolver objects.

Implementations (e.g. DefaultInterpreterPortsFactory) encapsulate the construction of mapping databases and the associated IParameterResolver used by Interpreter.

Definition at line 26 of file IInterpreterPortsFactory.h.

Constructor & Destructor Documentation

◆ ~IInterpreterPortsFactory()

virtual IInterpreterPortsFactory::~IInterpreterPortsFactory ( )
virtualdefault

Member Function Documentation

◆ makeResolver()

virtual std::unique_ptr< IParameterResolver > IInterpreterPortsFactory::makeResolver ( const std::string &  modelName,
const std::string &  modelJsonPath,
const std::string &  smJsonPath 
) const
pure virtual

Creates a new IParameterResolver instance.

Parameters
modelNameLogical name of the model (e.g. "SM", "THDM").
modelJsonPathPath to the JSON mapping for modelName.
smJsonPathPath to the JSON mapping for the SM.
Returns
A fresh, owning pointer to an IParameterResolver.

Implemented in DefaultInterpreterPortsFactory.


The documentation for this class was generated from the following file: