2 * Config_FeatureReader.h
4 * Created on: Mar 20, 2014
8 #ifndef CONFIG_FEATUREREADER_H_
9 #define CONFIG_FEATUREREADER_H_
11 #include <Config_XMLReader.h>
13 class CONFIG_EXPORT Config_FeatureReader: public Config_XMLReader
16 Config_FeatureReader(const std::string& theXmlFile);
17 Config_FeatureReader(const std::string& theXmlFile,
18 const std::string& theLibraryName);
19 virtual ~Config_FeatureReader();
21 std::string featureWidgetCfg(std::string theFeatureName);
24 void processNode(xmlNodePtr aNode);
25 bool processChildren(xmlNodePtr aNode);
27 void fillFeature(xmlNodePtr theRoot, Config_FeatureMessage& outFeatureMessage);
29 std::string myLastWorkbench;
30 std::string myLastGroup;
31 std::string myLibraryName;
33 bool myFetchWidgetCfg;
34 std::string myWidgetCfg;
37 #endif /* CONFIG_FEATUREREADER_H_ */