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

Core API returning the MARTY model class name. More...

#include <MartyModelNameAPI.h>

Inheritance diagram for MartyModelNameAPI:
Collaboration diagram for MartyModelNameAPI:

Public Member Functions

std::string get () override
 Returns the name of the active MARTY model.
 
- Public Member Functions inherited from ICoreAPI< std::string >
virtual ~ICoreAPI ()=default
 
virtual ~ICoreAPI ()=default
 

Detailed Description

Core API returning the MARTY model class name.

This API provides read-only access to the MARTY model name currently configured in Hyperiso.

Internally, it delegates to MartyAdapter, which encapsulates access to MARTY-related configuration details.

Typical usage:

std::shared_ptr<ICoreAPI<std::string>> api =
std::make_shared<MartyModelNameAPI>();
std::string modelName = api->get();

Definition at line 45 of file MartyModelNameAPI.h.

Member Function Documentation

◆ get()

std::string MartyModelNameAPI::get ( )
inlineoverridevirtual

Returns the name of the active MARTY model.

Returns
MARTY model class name as a string.

Implements ICoreAPI< std::string >.

Definition at line 52 of file MartyModelNameAPI.h.


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