4 * Created on: Mar 14, 2014
8 #ifndef CONFIG_XMLREADER_H_
9 #define CONFIG_XMLREADER_H_
12 #include "Config_Message.h"
17 class CONFIG_EXPORT Config_XMLReader {
19 Config_XMLReader(const std::string& theXmlFile);
20 virtual ~Config_XMLReader();
22 std::string documentPath() const;
23 void setDocumentPath(std::string documentName);
28 //! Performs the real import of the given xml file, return false if file is not found
29 //! or generates an algo error if file content is bad
30 //! \param theFile name of the imported XML file
31 //! \returns true if file exists and not corrupted
33 bool importWorkbench(void*);
34 void fillFeature(void *theRoot, Config_FeatureMessage& outFeatureMessage);
35 std::string getProperty(void *theRoot, const char* name);
38 std::string m_DocumentPath;
41 #endif /* CONFIG_XMLREADER_H_ */