1 #ifndef DQMParserBase_H
2 #define DQMParserBase_H
14 #include <xercesc/dom/DOM.hpp>
15 #include <xercesc/dom/DOMCharacterData.hpp>
16 #include <xercesc/parsers/XercesDOMParser.hpp>
17 #include <xercesc/util/PlatformUtils.hpp>
18 #include <xercesc/framework/LocalFileFormatTarget.hpp>
19 #include <xercesc/util/XMLUni.hpp>
20 #include <xercesc/util/XMLURL.hpp>
21 #include <xercesc/framework/MemBufInputSource.hpp>
47 xercesc::DOMDocument*
doc(){
return parser->getDocument();}
void getDocument(std::string configFile, bool UseDB=false)
Methor that parses the xml file configFile.
int countNodes(std::string tagName)
Returns the number of nodes with given name.
void getNewDocument(std::string configFile, bool UseDB=false)
Parses a new Document.
virtual ~DQMParserBase()
Destructor.
xercesc::XercesDOMParser * parser
xercesc::DOMDocument * doc()
DOM Document.