8 #ifndef MonitorXMLParser_h
9 #define MonitorXMLParser_h
16 #include <xercesc/dom/DOM.hpp>
17 #include <xercesc/dom/DOMElement.hpp>
18 #include <xercesc/parsers/XercesDOMParser.hpp>
127 }
catch( xercesc::XMLException&
e ){
131 std::ostringstream buf ;
132 buf <<
"Error parsing file: " << message << std::flush;
136 throw( std::runtime_error( buf.str() ) );
138 }
catch(
const xercesc::DOMException& e ){
142 std::ostringstream buf;
143 buf <<
"Encountered DOM Exception: " << message << std::flush;
147 throw( std::runtime_error( buf.str() ) );
181 #endif // MonitorXMLParser_h
MonitorXMLParser(const std::string &fromFile)
std::vector< DbQuery > queries
const std::vector< DB_ME > & getDB_ME(void) const
XMLCh * transcode(const T &fInput)
std::vector< DB_ME > DBMonitoringElements_
void handleElement(xercesc::DOMElement *element)
xercesc::XercesDOMParser * parser_