Template Class EnumSymbols
Defined in File rapidyaml-0.5.0.hpp
Nested Relationships
Nested Types
Class Documentation
-
template<class Enum>
class EnumSymbols A simple (proxy) container for the value-name pairs of an enum type. Uses linear search for finds; this could be improved for time-critical code.
Public Functions
-
inline size_t size() const
-
inline bool empty() const
-
struct Sym
Public Functions
-
bool cmp(const char *s) const
-
bool cmp(const char *s, size_t len) const
-
const char *name_offs(EnumOffsetType t) const
-
bool cmp(const char *s) const
-
inline size_t size() const