|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Generic interface returning a single value of type T from the core. More...
#include <ICoreAPI.h>
Public Member Functions | |
| virtual | ~ICoreAPI ()=default |
| virtual T | get ()=0 |
| Returns the current value exposed by this API. | |
| virtual | ~ICoreAPI ()=default |
| virtual T | get ()=0 |
| Returns the current state value. | |
Generic interface returning a single value of type T from the core.
Generic interface for querying core state values.
Implementations provide a unified way to query a core state value:
| T | Type of the returned value. |
| T | Type of the core value to access (e.g. Model). |
Implementations provide a single method get() that returns the current value. It is intentionally simple to avoid tight coupling between layers.
Definition at line 30 of file ICoreAPI.h.
Returns the current state value.
T. Implemented in ModelAPI, HasWilsonAPI, MartyModelNameAPI, MartyModelPathAPI, ModelAPI, SMFromHypProxy, and UseMarty.
Returns the current value exposed by this API.
The semantics depend on the implementation: it may query a singleton-backed cache (via HyperisoMaster / MemoryManager), or return a derived property.
T. Implemented in ModelAPI, HasWilsonAPI, MartyModelNameAPI, MartyModelPathAPI, ModelAPI, SMFromHypProxy, and UseMarty.