|
template<typename Type > |
constexpr bool | is_enum () |
| Checks if given type is an enum or enum class.
|
|
template<typename EnumType > |
EnumType | default_constructor () |
| Returns the first value of EnumType. This is well-defined as compared to EnumType().
|
|
template<typename EnumType > |
std::string | serialized_string () |
| Returns the names of the enums joined with "|".
|
|
template<typename EnumType > |
std::string | enum_to_string (EnumType const enum_type) |
| Converts and enum to a string, returning the string.
|
|
template<typename EnumType > |
void | string_to_enum (EnumType &enum_type, std::string const &enum_name) |
| Converts a string to an enum, which is provided as first function argument.
|
|
bool | is_unsteady_timestep (types::time_step const timestep) |
|
bool | is_valid_timestep (types::time_step const timestep) |
|
Collection of enum utilities.