Salome HOME
Processing of 'selection_filter' xml nodes added.
[modules/shaper.git] / src / Config / Config_XMLReader.h
index 8915147e9eb5c8b88a550d642e38ec2d6728bd65..b41790c59b50e5912b523b3c0950a009d9079fb5 100644 (file)
@@ -32,27 +32,31 @@ struct _xmlDoc;
  */
 class Config_XMLReader
 {
-public:
-  CONFIG_EXPORT Config_XMLReader(const std::string& theXmlFile);
-  CONFIG_EXPORT virtual ~Config_XMLReader();
+ public:
+  CONFIG_EXPORT Config_XMLReader(const std::string& theXmlFile);CONFIG_EXPORT virtual ~Config_XMLReader();
 
   CONFIG_EXPORT void readAll();
 
-public:
+ public:
   CONFIG_EXPORT xmlNodePtr findRoot();
 
-protected:
+ protected:
   virtual void processNode(xmlNodePtr aNode);
   virtual bool processChildren(xmlNodePtr aNode);
 
   void readRecursively(xmlNodePtr theParent);
 
   xmlNodePtr node(void* theNode);
-  std::string getProperty(xmlNodePtr theNode, const char* property);
+  std::string getNodeName(xmlNodePtr theNode);
+  void processValidator(xmlNodePtr theNode);
+  void processSelectionFilter(xmlNodePtr theNode);
 
-protected:
+ protected:
+  std::string myCurrentFeature;
+
+ protected:
   std::string myDocumentPath;
-  xmlDocPtr   myXmlDoc;
+  xmlDocPtr myXmlDoc;
 };
 
 #endif /* CONFIG_XMLREADER_H_ */