1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
4 * Config_WidgetReader.h
6 * Created on: Apr 2, 2014
10 #ifndef CONFIG_WIDGETREADER_H_
11 #define CONFIG_WIDGETREADER_H_
13 #include <Config_def.h>
14 #include <Config_XMLReader.h>
19 class Config_WidgetReader : public Config_XMLReader
22 CONFIG_EXPORT Config_WidgetReader(const std::string& theXmlFile);CONFIG_EXPORT virtual ~Config_WidgetReader();
24 CONFIG_EXPORT std::string featureWidgetCfg(const std::string& theFeatureName);CONFIG_EXPORT std::string featureDescription(
25 const std::string& theFeatureName);
28 void processNode(xmlNodePtr theNode);
29 bool processChildren(xmlNodePtr theNode);
30 std::string dumpNode(xmlNodePtr theNode);
31 void resolveSourceNodes(xmlNodePtr theNode);
34 std::map<std::string, std::string> myWidgetCache;
35 std::map<std::string, std::string> myDescriptionCache;
39 #endif /* CONFIG_WIDGETREADER_H_ */