BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Types | Static Public Member Functions
BeeeOn::EnumHelper< Raw > Struct Template Reference

#include <Enum.h>

Public Types

typedef std::map< Raw,
std::string > 
ValueMap
 
typedef ValueMap::const_iterator Value
 
typedef std::map< Raw, ValueRawMap
 
typedef std::map< std::string,
Value
NamesMap
 

Static Public Member Functions

static RawMap initRawMap (const ValueMap &valueMap)
 

Detailed Description

template<typename Raw>
struct BeeeOn::EnumHelper< Raw >

Provide enum-specific helper data types.

Member Typedef Documentation

template<typename Raw>
typedef std::map<std::string, Value> BeeeOn::EnumHelper< Raw >::NamesMap

NamesMap to lookup Enum instance by name.

template<typename Raw>
typedef std::map<Raw, Value> BeeeOn::EnumHelper< Raw >::RawMap

RawMap to lookup Enum instance by Raw value.

template<typename Raw>
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.

template<typename Raw>
typedef std::map<Raw, std::string> BeeeOn::EnumHelper< Raw >::ValueMap

ValueMap that each Enum must specify.


The documentation for this struct was generated from the following file: