|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
#include <scaletype_ids.hpp>


Public Types | |
| using | Base = GenericMapperNoExt< ScaleTypeTag, ScaleType, scaletype_mapping > |
Static Public Member Functions | |
| static std::string | block (ScaleType t) |
| Returns the canonical string block name associated with a ScaleType. | |
Static Public Member Functions inherited from GenericMapperNoExt< ScaleTypeTag, ScaleType, scaletype_mapping > | |
| static void | init_builtins () |
| Explicitly initializes builtin entries. | |
| static ScaleType | enum_elt_legacy (std::string_view s) |
| Legacy enum lookup using only the static MapFn() table. | |
| static std::vector< std::string > | get_str () |
| Returns the list of builtin string names from MapFn(). | |
| static std::vector< ScaleType > | get_enum () |
| Returns the list of builtin enum values from MapFn(). | |
| static std::vector< std::string > | get_str_all () |
| Returns all known names: builtin and custom. | |
| static IdOf< ScaleTypeTag > | id_of (std::string_view s) |
| Resolves a string into an IdOf<Tag> via the registry. | |
| static IdOf< ScaleTypeTag > | enum_elt (std::string_view s) |
| Alias for id_of(), kept for compatibility. | |
| static bool | register_custom (std::string canonical, std::vector< std::string > aliases={}) |
| Registers a custom (non-builtin) entry in the registry. | |
| static std::vector< IdOf< ScaleTypeTag > > | list_all () |
| Lists all distinct IdOf<Tag> entries in the registry. | |
| static std::string | str (const IdOf< ScaleTypeTag > &id) |
| Returns the string representation associated with an identifier. | |
| static std::string | str (ScaleType e) |
| Returns the builtin string name corresponding to an enum value. | |
| static IdOf< ScaleTypeTag > | to_id (ScaleType e) |
| Converts an enum value to an IdOf<Tag>. | |
| static std::optional< ScaleType > | enum_of (const IdOf< ScaleTypeTag > &id) |
| Attempts to recover the enum value associated with an identifier. | |
Definition at line 19 of file scaletype_ids.hpp.
Definition at line 23 of file scaletype_ids.hpp.
|
inlinestatic |
Returns the canonical string block name associated with a ScaleType.
Definition at line 27 of file scaletype_ids.hpp.