#include <DQMParserBase.h>
Public Member Functions | |
int | countNodes (std::string tagName) |
Returns the number of nodes with given name. More... | |
xercesc::DOMDocument * | doc () |
DOM Document. More... | |
DQMParserBase () | |
Creator. More... | |
void | getDocument (std::string configFile, bool UseDB=false) |
Methor that parses the xml file configFile. More... | |
void | getNewDocument (std::string configFile, bool UseDB=false) |
Parses a new Document. More... | |
virtual | ~DQMParserBase () |
Destructor. More... | |
Protected Attributes | |
xercesc::XercesDOMParser * | parser |
Base class for Parsers used by DQM
Definition at line 31 of file DQMParserBase.h.
DQMParserBase::DQMParserBase | ( | ) |
|
virtual |
int DQMParserBase::countNodes | ( | std::string | tagName | ) |
Returns the number of nodes with given name.
Definition at line 60 of file DQMParserBase.cc.
References qtxml::_toDOMS(), and createfilelist::parser.
|
inline |
DOM Document.
Definition at line 45 of file DQMParserBase.h.
References parser.
Referenced by SiPixelLayoutParser::getAllLayouts(), SiStripLayoutParser::getAllLayouts(), SiPixelConfigParser::getCalibType(), SiPixelConfigParser::getFrequencyForBarrelSummary(), SiPixelConfigParser::getFrequencyForEndcapSummary(), SiPixelConfigParser::getFrequencyForGrandBarrelSummary(), SiPixelConfigParser::getFrequencyForGrandEndcapSummary(), SiStripConfigParser::getFrequencyForSummary(), SiPixelConfigParser::getFrequencyForTrackerMap(), SiPixelConfigParser::getMENamesForBarrelSummary(), SiPixelConfigParser::getMENamesForEndcapSummary(), SiPixelConfigParser::getMENamesForFEDErrorSummary(), SiPixelConfigParser::getMENamesForGrandBarrelSummary(), SiPixelConfigParser::getMENamesForGrandEndcapSummary(), SiStripConfigParser::getMENamesForSummary(), SiPixelConfigParser::getMENamesForTrackerMap(), SiPixelConfigParser::getMENamesForTree(), SiPixelConfigParser::getMessageLimitForQTests(), and SiPixelConfigParser::getSourceType().
void DQMParserBase::getDocument | ( | std::string | configFile, |
bool | UseDB = false |
||
) |
Methor that parses the xml file configFile.
Definition at line 26 of file DQMParserBase.cc.
References assert(), and createfilelist::parser.
Referenced by QTestHandle::configureTests(), TrackingActionExecutor::createShiftReport(), SiStripActionExecutor::createShiftReport(), SiPixelActionExecutor::createSummary(), SiStripSummaryCreator::readConfiguration(), SiStripInformationExtractor::readConfiguration(), and SiPixelActionExecutor::readConfiguration().
void DQMParserBase::getNewDocument | ( | std::string | configFile, |
bool | UseDB = false |
||
) |
Parses a new Document.
Definition at line 45 of file DQMParserBase.cc.
References assert(), gather_cfg::cout, and createfilelist::parser.
Referenced by QTestHandle::configureTests().
|
protected |
Definition at line 47 of file DQMParserBase.h.
Referenced by doc().