Salome HOME
Changing ".hxx" to ".h" headers files extensions
[modules/shaper.git] / src / Config / Config_FeatureReader.h
1 /*
2  * Config_FeatureReader.h
3  *
4  *  Created on: Mar 20, 2014
5  *      Author: sbh
6  */
7
8 #ifndef CONFIG_FEATUREREADER_H_
9 #define CONFIG_FEATUREREADER_H_
10
11 #include <Config_XMLReader.h>
12
13 class CONFIG_EXPORT Config_FeatureReader: public Config_XMLReader
14 {
15 public:
16   Config_FeatureReader(const std::string& theXmlFile);
17   virtual ~Config_FeatureReader();
18
19   std::string featureWidgetCfg(std::string theFeatureName);
20
21 protected:
22   void processNode(xmlNodePtr aNode);
23   bool processChildren(xmlNodePtr aNode);
24
25   void fillFeature(xmlNodePtr theRoot, Config_FeatureMessage& outFeatureMessage);
26
27   std::string m_lastWorkbench;
28   std::string m_lastGroup;
29
30   bool m_fetchWidgetCfg;
31   std::string m_widgetCfg;
32 };
33
34 #endif /* CONFIG_FEATUREREADER_H_ */