#include <CaloOnlineTools/HcalOnlineDb/interface/HcalTriggerKey.h>
Public Member Functions | |
int | add_data (std::string id, std::string type, std::string value) |
int | compose_key_dialogue (void) |
int | fill_key (std::string key_id, std::map< std::string, std::string > &key) |
HcalTriggerKey () | |
int | init (void) |
virtual | ~HcalTriggerKey () |
Public Member Functions inherited from XMLDOMBlock | |
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 Attributes | |
XERCES_CPP_NAMESPACE::MemBufInputSource * | _data |
XERCES_CPP_NAMESPACE::MemBufInputSource * | _root |
Protected Attributes inherited from XMLDOMBlock | |
XERCES_CPP_NAMESPACE::DOMDocument * | document |
XERCES_CPP_NAMESPACE::ErrorHandler * | errHandler |
XERCES_CPP_NAMESPACE::XercesDOMParser * | parser |
std::string * | the_string |
std::string | theFileName |
XMLProcessor * | theProcessor |
Private Member Functions | |
HcalTriggerKey (const HcalTriggerKey &) | |
const HcalTriggerKey & | operator= (const HcalTriggerKey &) |
Additional Inherited Members | |
Protected Member Functions inherited from XMLDOMBlock | |
int | init (std::string _root) |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 26 of file HcalTriggerKey.h.
XERCES_CPP_NAMESPACE_USE HcalTriggerKey::HcalTriggerKey | ( | void | ) |
Definition at line 19 of file HcalTriggerKey.cc.
References _data, _root, init(), and XMLDOMBlock::parse().
|
virtual |
Definition at line 28 of file HcalTriggerKey.cc.
|
private |
int HcalTriggerKey::add_data | ( | std::string | id, |
std::string | type, | ||
std::string | value | ||
) |
Definition at line 95 of file HcalTriggerKey.cc.
References _data, XMLProcessor::_toXMLCh(), XMLDOMBlock::document, XMLDOMBlock::getDocument(), and XMLDOMBlock::setTagValue().
Referenced by fill_key().
int HcalTriggerKey::compose_key_dialogue | ( | void | ) |
Definition at line 124 of file HcalTriggerKey.cc.
References gather_cfg::cout, fill_key(), and AlCaHLTBitMon_QueryRunRegistry::string.
int HcalTriggerKey::fill_key | ( | std::string | key_id, |
std::map< std::string, std::string > & | key | ||
) |
Definition at line 114 of file HcalTriggerKey.cc.
References add_data().
Referenced by compose_key_dialogue().
int HcalTriggerKey::init | ( | void | ) |
|
private |
|
protected |
Definition at line 43 of file HcalTriggerKey.h.
Referenced by XML2Python.DataNode::__init__(), data_sources.node::__init__(), data_sources.json_data_node::__init__(), python.XML2Python.DataNode::__nonzero__(), XML2Python.DataNode::__nonzero__(), python.XML2Python.DataNode::__repr__(), XML2Python.DataNode::__repr__(), python.XML2Python.DataNode::__str__(), XML2Python.DataNode::__str__(), data_sources.json_data_node::__str__(), cfg-viewer.unscheduled::_proceed(), cfg-viewer.unscheduled::_saveData(), add_data(), data_sources.json_dict::add_key(), data_sources.node::data(), data_sources.json_file::data(), data_sources.sqlite_schema::data(), data_sources.json_data_node::data(), data_sources.json_data_node::find(), HcalTriggerKey(), init(), data_sources.json_list::next(), data_sources.json_file::raw(), data_sources.json_data_node::raw(), data_sources.json_data_node::set(), XML2Python.DataNode::stringify(), and ~HcalTriggerKey().
|
protected |
Definition at line 42 of file HcalTriggerKey.h.
Referenced by data_sources.tree::__init__(), XML2Python.TreeBuilder::__init__(), HcalTriggerKey(), init(), data_sources.tree::root(), python.XML2Python.TreeBuilder::root(), XML2Python.TreeBuilder::root(), and ~HcalTriggerKey().