47 #ifndef ConfigParser_hpp 48 #define ConfigParser_hpp 56 #include <xercesc/parsers/XercesDOMParser.hpp> 57 using XERCES_CPP_NAMESPACE::XercesDOMParser;
59 #include <xercesc/dom/DOMNode.hpp> 60 using XERCES_CPP_NAMESPACE::DOMNode;
93 #define ConfigParser_Throw(streamArgs) DIAG_ThrowX(ConfigParserException, streamArgs) 98 const char* filenm =
NULL,
unsigned int lineno = 0)
103 return "CONFIGURATION file error [ConfigParserException]: " + what();
ConfigParserException(const std::string x, const char *filenm=NULL, unsigned int lineno=0)
virtual std::string message() const
XercesDOMParser * m_parser
void parse(Analysis::Args &args, Prof::Metric::Mgr &metricMgr)
ConfigParser(const std::string &inputFile, XercesErrorHandler &errHndlr)