libhomegear-base  0.7
Base library for Homegear and Homegear family modules.
BaseLib::DeviceDescription::HomegearUiElements Class Reference

Class defining a Homegear device translation. More...

#include <HomegearUiElements.h>

Public Member Functions

 HomegearUiElements (BaseLib::SharedObjects *baseLib, std::string xmlFilename)
 
virtual ~HomegearUiElements ()=default
 
std::unordered_map< std::string, PHomegearUiElement > & getUiElements ()
 
bool loaded () const
 

Public Attributes

std::string lang
 

Protected Member Functions

void load (std::string xmlFilename)
 
void parseXML (xml_node *node)
 

Protected Attributes

BaseLib::SharedObjects_bl = nullptr
 
bool _loaded = false
 
std::unordered_map< std::string, PHomegearUiElement_uiElements
 

Detailed Description

Class defining a Homegear device translation.

It is a direct representation of the translation XML file.

Constructor & Destructor Documentation

§ HomegearUiElements()

BaseLib::DeviceDescription::HomegearUiElements::HomegearUiElements ( BaseLib::SharedObjects baseLib,
std::string  xmlFilename 
)

§ ~HomegearUiElements()

virtual BaseLib::DeviceDescription::HomegearUiElements::~HomegearUiElements ( )
virtualdefault

Member Function Documentation

§ getUiElements()

std::unordered_map<std::string, PHomegearUiElement>& BaseLib::DeviceDescription::HomegearUiElements::getUiElements ( )
inline

§ load()

void BaseLib::DeviceDescription::HomegearUiElements::load ( std::string  xmlFilename)
protected

§ loaded()

bool BaseLib::DeviceDescription::HomegearUiElements::loaded ( ) const
inline

§ parseXML()

void BaseLib::DeviceDescription::HomegearUiElements::parseXML ( xml_node node)
protected

Member Data Documentation

§ _bl

BaseLib::SharedObjects* BaseLib::DeviceDescription::HomegearUiElements::_bl = nullptr
protected

§ _loaded

bool BaseLib::DeviceDescription::HomegearUiElements::_loaded = false
protected

§ _uiElements

std::unordered_map<std::string, PHomegearUiElement> BaseLib::DeviceDescription::HomegearUiElements::_uiElements
protected

§ lang

std::string BaseLib::DeviceDescription::HomegearUiElements::lang

The documentation for this class was generated from the following files: