|
DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
|
A pair of (enum-value, optional string) used to extract allowed values. More...
#include <ConfigEnum.hpp>
Public Member Functions | |
| EnumStringPair (EnumType v, const char *s) | |
| EnumStringPair (EnumType v, std::nullptr_t) | |
Public Attributes | |
| EnumType | value |
| std::string | str |
| bool | isNull |
A pair of (enum-value, optional string) used to extract allowed values.
Constructed implicitly from the {EnumVal, "string"} initializer pairs. When the string is nullptr (the unknown/sentinel value), str is empty and isNull is true.
Definition at line 78 of file ConfigEnum.hpp.
|
inline |
Definition at line 84 of file ConfigEnum.hpp.
|
inline |
Definition at line 86 of file ConfigEnum.hpp.
| bool DNDS::detail::EnumStringPair< EnumType >::isNull |
Definition at line 82 of file ConfigEnum.hpp.
| std::string DNDS::detail::EnumStringPair< EnumType >::str |
Definition at line 81 of file ConfigEnum.hpp.
| EnumType DNDS::detail::EnumStringPair< EnumType >::value |
Definition at line 80 of file ConfigEnum.hpp.