Class ov::EnumNames
-
template<typename EnumType>
class EnumNames
Uses a pairings defined by EnumTypes::get() to convert between strings and enum values.
Public Static Functions
-
static inline EnumType as_enum(const std::string &name)
Converts strings to enum values.
-
static inline const std::string &as_string(EnumType e)
Converts enum values to strings.