CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/DQMServices/ClientConfig/interface/DQMParserBase.h

Go to the documentation of this file.
00001 #ifndef DQMParserBase_H
00002 #define DQMParserBase_H
00003 
00014 #include <xercesc/dom/DOM.hpp>
00015 #include <xercesc/dom/DOMCharacterData.hpp>
00016 #include <xercesc/parsers/XercesDOMParser.hpp>
00017 #include <xercesc/util/PlatformUtils.hpp>
00018 #include <xercesc/framework/LocalFileFormatTarget.hpp>
00019 #include <xercesc/util/XMLUni.hpp>
00020 #include <xercesc/util/XMLURL.hpp>
00021 #include <xercesc/framework/MemBufInputSource.hpp>
00022 
00023 
00024           
00025 
00026 #include<iostream>
00027 #include<string>
00028 #include<vector>
00029 #include<map>
00030 
00031 
00032 
00033 class DQMParserBase{
00034 
00035  public:
00037         DQMParserBase();
00039         virtual ~DQMParserBase();
00041         void getDocument(std::string configFile, bool UseDB=false);
00043         int countNodes(std::string tagName);
00045         void getNewDocument(std::string configFile, bool UseDB=false);
00047         xercesc::DOMDocument* doc(){return parser->getDocument();}
00048  protected:      
00049         xercesc::XercesDOMParser* parser; 
00050          
00051  private:        
00052                          
00053 
00054 
00055 };
00056 
00057 
00058 #endif