39 throw std::out_of_range(
"Unknown QCD order: " + std::string(s));
const std::map< QCDOrder, std::string > & order_mapping()
Returns the mapping between QCDOrder and its string representation.
Static mappings between enum classes and string (or FLHA) identifiers.
Generic enum↔string mapper without external keys.
static void init_builtins()
Explicitly initializes builtin entries.
static IdOf< QCDOrderTag > id_of(std::string_view s)
Resolves a string into an IdOf<Tag> via the registry.
static std::vector< IdOf< QCDOrderTag > > list_all()
Lists all distinct IdOf<Tag> entries in the registry.
static std::string str(const IdOf< QCDOrderTag > &id)
Returns the string representation associated with an identifier.
static std::optional< QCDOrder > enum_of(const IdOf< QCDOrderTag > &id)
Attempts to recover the enum value associated with an identifier.
static IdOf< QCDOrderTag > to_id(QCDOrder e)
Converts an enum value to an IdOf<Tag>.
static QCDOrder enum_elt(std::string_view s)
Legacy lookup: converts a string into a QCDOrder enum. Performs a case-insensitive search over the bu...
Returns an uppercase copy of the input string.
std::string normalize_key(std::string_view s)
Normalizes a string key in a case-insensitive manner.
Generic enum↔string (and optional external key) mappers built on DynamicRegistry.