Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
scaletype_ids.hpp
Go to the documentation of this file.
1#ifndef SCALE_TYPE_IDS_H
2#define SCALE_TYPE_IDS_H
3
4#include "generic_mapper.h"
5#include "Map.h"
6
14struct ScaleTypeTag {};
15
18
20: public GenericMapperNoExt<ScaleTypeTag, ScaleType, scaletype_mapping>
21{
22public:
24 using Base::str;
25
27 static std::string block(ScaleType t){ return Base::str(t); }
28};
29
30#endif
ScaleType
Static mappings between enum classes and string (or FLHA) identifiers.
Generic enum↔string mapper without external keys.
static std::string str(const IdOf< ScaleTypeTag > &id)
Returns the string representation associated with an identifier.
static std::string block(ScaleType t)
Returns the canonical string block name associated with a ScaleType.
Returns an uppercase copy of the input string.
Generic enum↔string (and optional external key) mappers built on DynamicRegistry.