Salome HOME
refs #98 - Default color for constraints
[modules/shaper.git] / src / Config / Config_XMLReader.h
index bcd8ddfdf4bfe5d27bdd6305060a40298cb714eb..bd9392841b131eb63816f3517db82a3c0543f5b2 100644 (file)
@@ -8,7 +8,7 @@
 #ifndef CONFIG_XMLREADER_H_
 #define CONFIG_XMLREADER_H_
 
-#include <Config.h>
+#include <Config_def.h>
 
 #include <cstdarg>
 #include <string>
@@ -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 getNodeName(xmlNodePtr theNode);
   std::string getProperty(xmlNodePtr theNode, const char* property);
+  void processValidator(xmlNodePtr theNode);
 
-protected:
+ protected:
+  std::string myCurrentFeature;
+
+ protected:
   std::string myDocumentPath;
-  xmlDocPtr   myXmlDoc;
+  xmlDocPtr myXmlDoc;
 };
 
 #endif /* CONFIG_XMLREADER_H_ */