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

#include <contributiontype_ids.hpp>

Inheritance diagram for ContributionTypeMapper:
Collaboration diagram for ContributionTypeMapper:

Public Types

using Base = GenericMapperNoExt< ContrTag, ContributionType, contributiontype_mapping >
 

Additional Inherited Members

- Static Public Member Functions inherited from GenericMapperNoExt< ContrTag, ContributionType, contributiontype_mapping >
static void init_builtins ()
 Explicitly initializes builtin entries.
 
static ContributionType 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< ContributionTypeget_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< ContrTagid_of (std::string_view s)
 Resolves a string into an IdOf<Tag> via the registry.
 
static IdOf< ContrTagenum_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< ContrTag > > list_all ()
 Lists all distinct IdOf<Tag> entries in the registry.
 
static std::string str (const IdOf< ContrTag > &id)
 Returns the string representation associated with an identifier.
 
static std::string str (ContributionType e)
 Returns the builtin string name corresponding to an enum value.
 
static IdOf< ContrTagto_id (ContributionType e)
 Converts an enum value to an IdOf<Tag>.
 
static std::optional< ContributionTypeenum_of (const IdOf< ContrTag > &id)
 Attempts to recover the enum value associated with an identifier.
 

Detailed Description

Definition at line 14 of file contributiontype_ids.hpp.

Member Typedef Documentation

◆ Base


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