#include <EnumMap.h>
Definition at line 36 of file EnumMap.h.
◆ addEnum()
template<typename TEnum >
◆ fromString() [1/2]
template<typename TEnum >
static Optional<TEnum> EnumMap::fromString |
( |
const std::string & |
value | ) |
|
|
inlinestatic |
◆ fromString() [2/2]
static Optional<int> EnumMap::fromString |
( |
const std::string & |
value, |
|
|
const EnumIndex & |
index |
|
) |
| |
|
inlinestatic |
◆ getAll() [1/2]
template<typename TEnum >
static Array<TEnum> EnumMap::getAll |
( |
| ) |
|
|
inlinestatic |
◆ getAll() [2/2]
◆ getDesc() [1/2]
template<typename TEnum >
static std::string EnumMap::getDesc |
( |
| ) |
|
|
inlinestatic |
◆ getDesc() [2/2]
static std::string EnumMap::getDesc |
( |
const EnumIndex & |
index | ) |
|
|
inlinestatic |
◆ toString() [1/2]
static std::string EnumMap::toString |
( |
const int |
value, |
|
|
const EnumIndex & |
index |
|
) |
| |
|
inlinestatic |
◆ toString() [2/2]
template<typename TEnum >
static std::string EnumMap::toString |
( |
const TEnum |
value | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file:
- /home/pavel/projects/astro/sph/src/core/objects/utility/EnumMap.h