#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 | |
DOMElement * | add_element (DOMElement *parent, XMLCh *tagname, XMLCh *value) |
DOMDocument * | getDocument (void) |
DOMDocument * | getDocumentConst (void) const |
DOMDocument * | getNewDocument (std::string xmlFileName) |
std::string & | getString (void) |
std::string & | getString (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, DOMDocument *_document=NULL) |
const char * | getTagValue (const std::string &tagName, int _item, DOMElement *_document) |
std::string | getTimestamp (time_t _time) |
XMLDOMBlock & | operator+= (const XMLDOMBlock &other) |
void | parse (InputSource &_source) |
DOMNode * | setTagAttribute (const std::string &tagName, const std::string &attrName, const std::string &attrValue, int _item=0) |
DOMNode * | setTagAttribute (DOMElement *_elem, const std::string &tagName, const std::string &attrName, const std::string &attrValue, int _item=0) |
DOMNode * | setTagAttribute (const std::string &tagName, const std::string &attrName, const int &attrValue, int _item=0) |
DOMNode * | setTagAttribute (DOMElement *_elem, const std::string &tagName, const std::string &attrName, const int &attrValue, int _item=0) |
DOMNode * | setTagValue (const std::string &tagName, const std::string &tagValue, int _item=0, DOMDocument *_document=NULL) |
DOMNode * | setTagValue (DOMElement *_elem, const std::string &tagName, const std::string &tagValue, int _item=0) |
DOMNode * | setTagValue (const std::string &tagName, const int &tagValue, int _item=0, DOMDocument *_document=NULL) |
DOMNode * | setTagValue (DOMElement *_elem, const std::string &tagName, const int &tagValue, int _item=0) |
int | write (std::string target="stdout") |
XMLDOMBlock () | |
XMLDOMBlock (std::string xmlFileName) | |
XMLDOMBlock (InputSource &_source) | |
XMLDOMBlock (std::string _root, int rootElementName) | |
virtual | ~XMLDOMBlock () |
Protected Attributes | |
MemBufInputSource * | _data |
MemBufInputSource * | _root |
Protected Attributes inherited from XMLDOMBlock | |
DOMDocument * | document |
ErrorHandler * | errHandler |
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 27 of file HcalTriggerKey.h.
HcalTriggerKey::HcalTriggerKey | ( | void | ) |
Definition at line 17 of file HcalTriggerKey.cc.
References _data, _root, init(), and XMLDOMBlock::parse().
|
virtual |
Definition at line 26 of file HcalTriggerKey.cc.
|
private |
int HcalTriggerKey::add_data | ( | std::string | id, |
std::string | type, | ||
std::string | value | ||
) |
Definition at line 93 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 122 of file HcalTriggerKey.cc.
References gather_cfg::cout, and fill_key().
int HcalTriggerKey::fill_key | ( | std::string | key_id, |
std::map< std::string, std::string > & | key | ||
) |
Definition at line 112 of file HcalTriggerKey.cc.
References add_data().
Referenced by compose_key_dialogue().
int HcalTriggerKey::init | ( | void | ) |
|
private |
|
protected |
Definition at line 44 of file HcalTriggerKey.h.
Referenced by XML2Python.DataNode::__init__(), python.XML2Python.DataNode::__nonzero__(), XML2Python.DataNode::__nonzero__(), python.XML2Python.DataNode::__repr__(), XML2Python.DataNode::__repr__(), python.XML2Python.DataNode::__str__(), XML2Python.DataNode::__str__(), add_data(), HcalTriggerKey(), init(), XML2Python.DataNode::stringify(), and ~HcalTriggerKey().
|
protected |
Definition at line 43 of file HcalTriggerKey.h.
Referenced by XML2Python.TreeBuilder::__init__(), HcalTriggerKey(), init(), python.XML2Python.TreeBuilder::root(), XML2Python.TreeBuilder::root(), and ~HcalTriggerKey().