|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Minimal runtime-polymorphic view over a mapper. More...
#include <mapper_hub.hpp>

Public Member Functions | |
| virtual | ~IMapperView ()=default |
| virtual std::string | canonical (std::string_view s) const =0 |
| Resolve a name or alias to its canonical string. | |
| virtual std::vector< std::string > | list_all () const =0 |
| List all known canonical strings. | |
| virtual bool | register_custom (std::string canonical, std::vector< std::string > aliases)=0 |
| Generic custom registration hook. | |
Minimal runtime-polymorphic view over a mapper.
Definition at line 58 of file mapper_hub.hpp.
|
virtualdefault |
|
pure virtual |
Resolve a name or alias to its canonical string.
| s | Input name or alias. |
Implemented in MapperViewSimple< Concrete >, and MapperViewReadOnly< Concrete >.
|
pure virtual |
List all known canonical strings.
Implemented in MapperViewSimple< Concrete >, and MapperViewReadOnly< Concrete >.
|
pure virtual |
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. |
Implemented in MapperViewSimple< Concrete >, and MapperViewReadOnly< Concrete >.