![]() |
libhomegear-base
0.7
Base library for Homegear and Homegear family modules.
|
Class defining a Homegear device translation. More...
#include <HomegearDeviceTranslation.h>
Classes | |
| struct | ParameterTranslation |
Public Member Functions | |
| HomegearDeviceTranslation (BaseLib::SharedObjects *baseLib, std::string xmlFilename) | |
| virtual | ~HomegearDeviceTranslation () |
| bool | loaded () |
Public Attributes | |
| std::string | lang |
| std::unordered_map< std::string, std::string > | typeDescriptions |
| std::unordered_map< std::string, std::string > | typeLongDescriptions |
| std::unordered_map< std::string, std::unordered_map< std::string, ParameterTranslation > > | configParameters |
| std::unordered_map< std::string, std::unordered_map< std::string, ParameterTranslation > > | linkParameters |
| std::unordered_map< std::string, std::unordered_map< std::string, ParameterTranslation > > | variables |
Protected Member Functions | |
| void | load (std::string xmlFilename) |
| void | parseXML (xml_node *node) |
Protected Attributes | |
| BaseLib::SharedObjects * | _bl = nullptr |
| bool | _loaded = false |
Class defining a Homegear device translation.
It is a direct representation of the translation XML file.
| BaseLib::DeviceDescription::HomegearDeviceTranslation::HomegearDeviceTranslation | ( | BaseLib::SharedObjects * | baseLib, |
| std::string | xmlFilename | ||
| ) |
|
virtual |
|
protected |
|
inline |
|
protected |
|
protected |
|
protected |
| std::unordered_map<std::string, std::unordered_map<std::string, ParameterTranslation> > BaseLib::DeviceDescription::HomegearDeviceTranslation::configParameters |
| std::string BaseLib::DeviceDescription::HomegearDeviceTranslation::lang |
| std::unordered_map<std::string, std::unordered_map<std::string, ParameterTranslation> > BaseLib::DeviceDescription::HomegearDeviceTranslation::linkParameters |
| std::unordered_map<std::string, std::string> BaseLib::DeviceDescription::HomegearDeviceTranslation::typeDescriptions |
| std::unordered_map<std::string, std::string> BaseLib::DeviceDescription::HomegearDeviceTranslation::typeLongDescriptions |
| std::unordered_map<std::string, std::unordered_map<std::string, ParameterTranslation> > BaseLib::DeviceDescription::HomegearDeviceTranslation::variables |