|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Adapter for mappers with simple no-extra-data registration. More...
#include <mapper_hub.hpp>


Public Member Functions | |
| std::string | canonical (std::string_view s) const override |
| Resolve a name or alias to its canonical string. | |
| std::vector< std::string > | list_all () const override |
| List all known canonical strings. | |
| bool | register_custom (std::string canonical, std::vector< std::string > aliases) override |
| Generic custom registration hook. | |
Public Member Functions inherited from IMapperView | |
| virtual | ~IMapperView ()=default |
Adapter for mappers with simple no-extra-data registration.
The concrete mapper must expose:
id_of(std::string_view),str(id),list_all(),register_custom(std::string, std::vector<std::string>). Definition at line 101 of file mapper_hub.hpp.
|
inlineoverridevirtual |
Resolve a name or alias to its canonical string.
| s | Input name or alias. |
Implements IMapperView.
Definition at line 102 of file mapper_hub.hpp.
|
inlineoverridevirtual |
List all known canonical strings.
Implements IMapperView.
Definition at line 107 of file mapper_hub.hpp.
|
inlineoverridevirtual |
Generic custom registration hook.
This is supported only for mappers whose custom symbols need no additional semantic information. For observables and decays, use the dedicated helper functions below so invariants are preserved.
| canonical | Canonical name. |
| aliases | Aliases. |
Implements IMapperView.
Definition at line 115 of file mapper_hub.hpp.