BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
TypeMappingParser is an abstract class providing method parse() that reads a given definition file (inpus stream). The file contains mapping definitions between the target technology-specific data types and the BeeeOn data types (ModuleType). More...
#include <TypeMappingParser.h>
Public Types | |
typedef std::pair< TechType, ModuleType > | TypeMapping |
Single mapping between technology-specific type and the ModuleType. | |
typedef std::vector< TypeMapping > | TypeMappingSequence |
Sequence of particular mappings. | |
Public Member Functions | |
virtual TypeMappingSequence | parse (std::istream &in)=0 |
Parse the given input stream and construct sequence of mappings between a technology-specific data type and the BeeeOn ModuleType. The sequence is returned in the same order as found in the input stream. | |
TypeMappingParser is an abstract class providing method parse() that reads a given definition file (inpus stream). The file contains mapping definitions between the target technology-specific data types and the BeeeOn data types (ModuleType).