BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
#include <Enum.h>
Public Types | |
typedef std::map< Raw, std::string > | ValueMap |
typedef ValueMap::const_iterator | Value |
typedef std::map< Raw, Value > | RawMap |
typedef std::map< std::string, Value > | NamesMap |
Static Public Member Functions | |
static RawMap | initRawMap (const ValueMap &valueMap) |
Provide enum-specific helper data types.
typedef std::map<std::string, Value> BeeeOn::EnumHelper< Raw >::NamesMap |
NamesMap to lookup Enum instance by name.
typedef std::map<Raw, Value> BeeeOn::EnumHelper< Raw >::RawMap |
RawMap to lookup Enum instance by Raw value.
typedef ValueMap::const_iterator BeeeOn::EnumHelper< Raw >::Value |
A representation of Enum value. It points to a ValueMap entry to access both the Raw value and its name.
typedef std::map<Raw, std::string> BeeeOn::EnumHelper< Raw >::ValueMap |
ValueMap that each Enum must specify.