Salome HOME
Updated events for Model and minor other changes
[modules/shaper.git] / src / Config / Config_WidgetReader.h
1 /*
2  * Config_WidgetReader.h
3  *
4  *  Created on: Apr 2, 2014
5  *      Author: sbh
6  */
7
8 #ifndef CONFIG_WIDGETREADER_H_
9 #define CONFIG_WIDGETREADER_H_
10
11 #include <Config.h>
12 #include <Config_XMLReader.h>
13
14 #include <map>
15 #include <string>
16
17
18 class Config_WidgetReader: public Config_XMLReader
19 {
20 public:
21   CONFIG_EXPORT Config_WidgetReader(const std::string& theXmlFile);
22   CONFIG_EXPORT virtual ~Config_WidgetReader();
23
24   CONFIG_EXPORT std::string featureWidgetCfg(std::string theFeatureName);
25
26 protected:
27   void processNode(xmlNodePtr theNode);
28   bool processChildren(xmlNodePtr theNode);
29
30 private:
31   std::map<std::string, std::string> myWidgetCache;
32
33 };
34
35 #endif /* CONFIG_WIDGETREADER_H_ */