|
Celeritas 0.7.0-dev.194+develop.0df4cab59
|
Map enums to strings for user output. More...
#include <EnumStringMapper.hh>
Public Member Functions | |
| template<class... Ts> | |
| CELER_CONSTEXPR_FUNCTION | EnumStringMapper (Ts... strings) |
| Construct with one string per valid enum value. | |
| char const * | operator() (T value) const |
| Convert an enum to the corresponding string. | |
Map enums to strings for user output.
This should generally be a static const class.