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

Interface for accessing a parameter-mapping database. More...

#include <IMappingDatabasePort.h>

Inheritance diagram for IMappingDatabasePort:

Public Member Functions

virtual ~IMappingDatabasePort ()=default
 
virtual std::unordered_map< std::string, InterpretedParamgetParams () const =0
 Returns all parameters stored in the database.
 
virtual std::optional< InterpretedParamgetParam (const std::string &name) const =0
 Retrieves a parameter mapping by name.
 
virtual std::string instanceName () const =0
 Returns a logical name for this database instance.
 

Detailed Description

Interface for accessing a parameter-mapping database.

The interface provides:

  • bulk retrieval of all mapped parameters,
  • lookup by symbolic name,
  • access to a human-readable instance name (e.g. "SM", "THDM").

Definition at line 31 of file IMappingDatabasePort.h.

Constructor & Destructor Documentation

◆ ~IMappingDatabasePort()

virtual IMappingDatabasePort::~IMappingDatabasePort ( )
virtualdefault

Member Function Documentation

◆ getParam()

virtual std::optional< InterpretedParam > IMappingDatabasePort::getParam ( const std::string &  name) const
pure virtual

Retrieves a parameter mapping by name.

Parameters
nameSymbolic parameter name as used in the generated code.
Returns
The corresponding InterpretedParam if found, std::nullopt otherwise.

Implemented in MappingDatabaseProxy.

◆ getParams()

virtual std::unordered_map< std::string, InterpretedParam > IMappingDatabasePort::getParams ( ) const
pure virtual

Returns all parameters stored in the database.

Returns
Map from parameter name to InterpretedParam.

Implemented in MappingDatabaseProxy.

◆ instanceName()

virtual std::string IMappingDatabasePort::instanceName ( ) const
pure virtual

Returns a logical name for this database instance.

Typically this is the model name, e.g. "SM" or "THDM".

Returns
Instance name as a string.

Implemented in MappingDatabaseProxy.


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