#include <CalibCalorimetry/HcalTPGAlgos/interface/XMLDOMBlock.h>
Public Member Functions | |
XERCES_CPP_NAMESPACE::DOMElement * | add_element (XERCES_CPP_NAMESPACE::DOMElement *parent, XMLCh *tagname, XMLCh *value) |
XERCES_CPP_NAMESPACE::DOMDocument * | getDocument (void) |
XERCES_CPP_NAMESPACE::DOMDocument * | getDocumentConst (void) const |
XERCES_CPP_NAMESPACE::DOMDocument * | getNewDocument (std::string xmlFileName) |
std::string & | getString (void) |
std::string & | getString (XERCES_CPP_NAMESPACE::DOMNode *_node) |
const char * | getTagAttribute (const std::string &tagName, const std::string &attrName, int _item=0) |
const char * | getTagValue (const std::string &tagName, int _item=0, XERCES_CPP_NAMESPACE::DOMDocument *_document=NULL) |
const char * | getTagValue (const std::string &tagName, int _item, XERCES_CPP_NAMESPACE::DOMElement *_document) |
std::string | getTimestamp (time_t _time) |
XMLDOMBlock & | operator+= (const XMLDOMBlock &other) |
void | parse (XERCES_CPP_NAMESPACE::InputSource &_source) |
XERCES_CPP_NAMESPACE::DOMNode * | setTagAttribute (const std::string &tagName, const std::string &attrName, const std::string &attrValue, int _item=0) |
XERCES_CPP_NAMESPACE::DOMNode * | setTagAttribute (XERCES_CPP_NAMESPACE::DOMElement *_elem, const std::string &tagName, const std::string &attrName, const std::string &attrValue, int _item=0) |
XERCES_CPP_NAMESPACE::DOMNode * | setTagAttribute (const std::string &tagName, const std::string &attrName, const int &attrValue, int _item=0) |
XERCES_CPP_NAMESPACE::DOMNode * | setTagAttribute (XERCES_CPP_NAMESPACE::DOMElement *_elem, const std::string &tagName, const std::string &attrName, const int &attrValue, int _item=0) |
XERCES_CPP_NAMESPACE::DOMNode * | setTagValue (const std::string &tagName, const std::string &tagValue, int _item=0, XERCES_CPP_NAMESPACE::DOMDocument *_document=NULL) |
XERCES_CPP_NAMESPACE::DOMNode * | setTagValue (XERCES_CPP_NAMESPACE::DOMElement *_elem, const std::string &tagName, const std::string &tagValue, int _item=0) |
XERCES_CPP_NAMESPACE::DOMNode * | setTagValue (const std::string &tagName, const int &tagValue, int _item=0, XERCES_CPP_NAMESPACE::DOMDocument *_document=NULL) |
XERCES_CPP_NAMESPACE::DOMNode * | setTagValue (XERCES_CPP_NAMESPACE::DOMElement *_elem, const std::string &tagName, const int &tagValue, int _item=0) |
int | write (std::string target="stdout") |
XMLDOMBlock () | |
XMLDOMBlock (std::string xmlFileName) | |
XMLDOMBlock (XERCES_CPP_NAMESPACE::InputSource &_source) | |
XMLDOMBlock (std::string _root, int rootElementName) | |
virtual | ~XMLDOMBlock () |
Protected Member Functions | |
int | init (std::string _root) |
Protected Attributes | |
XERCES_CPP_NAMESPACE::DOMDocument * | document |
XERCES_CPP_NAMESPACE::ErrorHandler * | errHandler |
XERCES_CPP_NAMESPACE::XercesDOMParser * | parser |
std::string * | the_string |
std::string | theFileName |
XMLProcessor * | theProcessor |
Friends | |
class | XMLProcessor |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 42 of file XMLDOMBlock.h.
XMLDOMBlock::XMLDOMBlock | ( | ) |
Definition at line 50 of file XMLDOMBlock.cc.
References StGenEvtProducer_cfi::init.
Referenced by LutXml::LutXml(), and XMLDOMBlock().
XMLDOMBlock::XMLDOMBlock | ( | std::string | xmlFileName | ) |
Definition at line 209 of file XMLDOMBlock.cc.
References gather_cfg::cout, XMLProcessor::getInstance(), python.rootplot.argparse::message, createfilelist::parser, fetchall_from_DQM_v2::release, and BuildIsoConfigs::xmlFileName.
XMLDOMBlock::XMLDOMBlock | ( | XERCES_CPP_NAMESPACE::InputSource & | _source | ) |
XMLDOMBlock::XMLDOMBlock | ( | std::string | _root, |
int | rootElementName | ||
) |
Definition at line 57 of file XMLDOMBlock.cc.
References gather_cfg::cout, XMLProcessor::getInstance(), StGenEvtProducer_cfi::init, python.rootplot.argparse::message, createfilelist::parser, fetchall_from_DQM_v2::release, and XMLDOMBlock().
|
virtual |
Definition at line 329 of file XMLDOMBlock.cc.
References XMLProcessor::_toXMLCh(), getTagValue(), createfilelist::parser, setTagValue(), AlCaHLTBitMon_QueryRunRegistry::string, and JetPlusTrackCorrections_cff::tagName.
DOMElement * XMLDOMBlock::add_element | ( | XERCES_CPP_NAMESPACE::DOMElement * | parent, |
XMLCh * | tagname, | ||
XMLCh * | value | ||
) |
Definition at line 523 of file XMLDOMBlock.cc.
DOMDocument * XMLDOMBlock::getDocument | ( | void | ) |
Definition at line 312 of file XMLDOMBlock.cc.
Referenced by XMLLUTLoader::addChecksums(), LutXml::addLut(), and XMLLUTLoader::addLUT().
DOMDocument * XMLDOMBlock::getDocumentConst | ( | void | ) | const |
DOMDocument * XMLDOMBlock::getNewDocument | ( | std::string | xmlFileName | ) |
Definition at line 266 of file XMLDOMBlock.cc.
References gather_cfg::cout, XMLProcessor::getInstance(), python.rootplot.argparse::message, createfilelist::parser, fetchall_from_DQM_v2::release, and BuildIsoConfigs::xmlFileName.
std::string & XMLDOMBlock::getString | ( | void | ) |
Definition at line 459 of file XMLDOMBlock.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by LutXml::getCurrentBrick().
std::string& XMLDOMBlock::getString | ( | XERCES_CPP_NAMESPACE::DOMNode * | _node | ) |
const char * XMLDOMBlock::getTagAttribute | ( | const std::string & | tagName, |
const std::string & | attrName, | ||
int | _item = 0 |
||
) |
Definition at line 400 of file XMLDOMBlock.cc.
References XMLProcessor::_toXMLCh().
const char* XMLDOMBlock::getTagValue | ( | const std::string & | tagName, |
int | _item = 0 , |
||
XERCES_CPP_NAMESPACE::DOMDocument * | _document = NULL |
||
) |
Referenced by ~XMLDOMBlock().
const char* XMLDOMBlock::getTagValue | ( | const std::string & | tagName, |
int | _item, | ||
XERCES_CPP_NAMESPACE::DOMElement * | _document | ||
) |
string XMLDOMBlock::getTimestamp | ( | time_t | _time | ) |
|
protected |
Definition at line 167 of file XMLDOMBlock.cc.
References XMLProcessor::_toXMLCh(), XMLProcessor::getInstance(), and createfilelist::parser.
XMLDOMBlock & XMLDOMBlock::operator+= | ( | const XMLDOMBlock & | other | ) |
Definition at line 35 of file XMLDOMBlock.cc.
References getDocumentConst(), and mps_fire::i.
void XMLDOMBlock::parse | ( | XERCES_CPP_NAMESPACE::InputSource & | _source | ) |
Definition at line 122 of file XMLDOMBlock.cc.
References gather_cfg::cout, XMLProcessor::getInstance(), python.rootplot.argparse::message, createfilelist::parser, and fetchall_from_DQM_v2::release.
DOMNode * XMLDOMBlock::setTagAttribute | ( | const std::string & | tagName, |
const std::string & | attrName, | ||
const std::string & | attrValue, | ||
int | _item = 0 |
||
) |
Definition at line 408 of file XMLDOMBlock.cc.
References XMLProcessor::_toXMLCh(), AlCaHLTBitMon_QueryRunRegistry::string, and JetPlusTrackCorrections_cff::tagName.
Referenced by setTagAttribute(), and XMLLUTLoader::XMLLUTLoader().
XERCES_CPP_NAMESPACE::DOMNode* XMLDOMBlock::setTagAttribute | ( | XERCES_CPP_NAMESPACE::DOMElement * | _elem, |
const std::string & | tagName, | ||
const std::string & | attrName, | ||
const std::string & | attrValue, | ||
int | _item = 0 |
||
) |
DOMNode * XMLDOMBlock::setTagAttribute | ( | const std::string & | tagName, |
const std::string & | attrName, | ||
const int & | attrValue, | ||
int | _item = 0 |
||
) |
Definition at line 427 of file XMLDOMBlock.cc.
References XMLProcessor::_toXMLCh(), setTagAttribute(), AlCaHLTBitMon_QueryRunRegistry::string, and JetPlusTrackCorrections_cff::tagName.
XERCES_CPP_NAMESPACE::DOMNode* XMLDOMBlock::setTagAttribute | ( | XERCES_CPP_NAMESPACE::DOMElement * | _elem, |
const std::string & | tagName, | ||
const std::string & | attrName, | ||
const int & | attrValue, | ||
int | _item = 0 |
||
) |
XERCES_CPP_NAMESPACE::DOMNode* XMLDOMBlock::setTagValue | ( | const std::string & | tagName, |
const std::string & | tagValue, | ||
int | _item = 0 , |
||
XERCES_CPP_NAMESPACE::DOMDocument * | _document = NULL |
||
) |
Referenced by XMLLUTLoader::addChecksums(), XMLLUTLoader::addLUT(), XMLLUTLoader::XMLLUTLoader(), and ~XMLDOMBlock().
XERCES_CPP_NAMESPACE::DOMNode* XMLDOMBlock::setTagValue | ( | XERCES_CPP_NAMESPACE::DOMElement * | _elem, |
const std::string & | tagName, | ||
const std::string & | tagValue, | ||
int | _item = 0 |
||
) |
XERCES_CPP_NAMESPACE::DOMNode* XMLDOMBlock::setTagValue | ( | const std::string & | tagName, |
const int & | tagValue, | ||
int | _item = 0 , |
||
XERCES_CPP_NAMESPACE::DOMDocument * | _document = NULL |
||
) |
XERCES_CPP_NAMESPACE::DOMNode* XMLDOMBlock::setTagValue | ( | XERCES_CPP_NAMESPACE::DOMElement * | _elem, |
const std::string & | tagName, | ||
const int & | tagValue, | ||
int | _item = 0 |
||
) |
int XMLDOMBlock::write | ( | std::string | target = "stdout" | ) |
Definition at line 322 of file XMLDOMBlock.cc.
References TriggerAnalyzer::write().
Referenced by XMLLUTLoader::createLoader(), pkg.AbstractPkg::generate(), and querying.connection::write_and_commit().
|
friend |
Definition at line 45 of file XMLDOMBlock.h.
|
protected |
Definition at line 96 of file XMLDOMBlock.h.
Referenced by XMLLUTLoader::addChecksums(), LutXml::addData(), LutXml::addLut(), XMLLUTLoader::addLUT(), LutXml::addParameter(), and LutXml::create_lut_map().
|
protected |
Definition at line 95 of file XMLDOMBlock.h.
|
protected |
Definition at line 94 of file XMLDOMBlock.h.
|
protected |
Definition at line 98 of file XMLDOMBlock.h.
|
protected |
Definition at line 97 of file XMLDOMBlock.h.
|
protected |
Definition at line 93 of file XMLDOMBlock.h.