This class manage the bijective association between string and integral representation of an enumeration.
More...
#include <Core/Utils/EnumConverter.hpp>
|
| EnumConverter (std::initializer_list< std::pair< EnumBaseType, std::string >> pairs) |
|
std::string | getEnumerator (EnumBaseType v) const |
|
EnumBaseType | getEnumerator (const std::string &v) const |
|
std::vector< std::string > | getEnumerators () const |
|
template<typename EnumBaseType>
class Ra::Core::Utils::EnumConverter< EnumBaseType >
This class manage the bijective association between string and integral representation of an enumeration.
- Template Parameters
-
EnumBaseType | the underlying type (as returned by typename std::underlying_type_t<Enum>) of the enumeration to manage. |
Definition at line 21 of file EnumConverter.hpp.
The documentation for this class was generated from the following file:
- /home/runner/work/Radium-Engine/Radium-Engine/src/Radium-Engine/src/Core/Utils/EnumConverter.hpp