1 #ifndef _CondTools_Ecal_XMLHelperFunctions_ 2 #define _CondTools_Ecal_XMLHelperFunctions_ 12 #include <xercesc/dom/DOMNode.hpp> 18 #include <xercesc/dom/DOM.hpp> 27 xercesc::DOMElement*
writeCell(xercesc::DOMNode* node,
const DetId& detid);
40 std::stringstream value_ss(value_s);
47 xercesc::DOMDocument*
doc = parentNode->getOwnerDocument();
49 parentNode->appendChild(new_node);
51 std::stringstream value_ss;
55 new_node->appendChild(tvalue);
void GetNodeStringData(xercesc::DOMNode *node, std::string &value)
get the node data as string. Needs to be used to avoid splitting
void WriteNodeWithValue(xercesc::DOMNode *parentNode, const std::string &tag, const T &value)
write a node with
std::string toString(XMLCh const *toTranscode)
void readHeader(xercesc::DOMNode *parentNode, EcalCondHeader &header)
read header from
void writeHeader(xercesc::DOMNode *parentNode, const EcalCondHeader &header)
write
ZStr< XMLCh > uStr(char const *str)
void GetNodeData(xercesc::DOMNode *node, T &value)
get the node data
xercesc::DOMNode * getChildNode(xercesc::DOMNode *node, const std::string &nodename)
get the child of
xercesc::DOMElement * writeCell(xercesc::DOMNode *node, const DetId &detid)
Append a Cell node with attributes to.
const DetId readCellId(xercesc::DOMElement *node)
Assuming.