#include <EnumSerializer.h>
|
void | insert (uint64_t value, std::string_view name) |
|
void | polish () |
|
◆ EnumSerializationTable()
template<class T >
detail::EnumSerializationTable::EnumSerializationTable |
( |
CaseSensitivity |
caseSensitivity, |
|
|
std::initializer_list< std::pair< T, const char * > > |
pairs |
|
) |
| |
|
inline |
◆ insert()
void detail::EnumSerializationTable::insert |
( |
uint64_t |
value, |
|
|
std::string_view |
name |
|
) |
| |
|
private |
◆ isUsableWithFlags()
bool detail::EnumSerializationTable::isUsableWithFlags |
( |
| ) |
const |
◆ polish()
void detail::EnumSerializationTable::polish |
( |
| ) |
|
|
private |
◆ tryDeserialize()
bool detail::EnumSerializationTable::tryDeserialize |
( |
std::string_view |
src, |
|
|
uint64_t * |
dst |
|
) |
| const |
◆ tryDeserializeFlags()
bool detail::EnumSerializationTable::tryDeserializeFlags |
( |
std::string_view |
src, |
|
|
uint64_t * |
dst |
|
) |
| const |
◆ trySerialize()
bool detail::EnumSerializationTable::trySerialize |
( |
uint64_t |
src, |
|
|
std::string * |
dst |
|
) |
| const |
◆ trySerializeFlags()
bool detail::EnumSerializationTable::trySerializeFlags |
( |
uint64_t |
src, |
|
|
std::string * |
dst |
|
) |
| const |
◆ _caseSensitivity
◆ _enumByString
◆ _sortedEnumStrings
std::vector<std::pair<uint64_t, std::string> > detail::EnumSerializationTable::_sortedEnumStrings |
|
private |
◆ _stringByEnum
std::unordered_map<uint64_t, std::string> detail::EnumSerializationTable::_stringByEnum |
|
private |
The documentation for this class was generated from the following files: