test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions
DOMHelperFunctions.h File Reference
#include <xercesc/dom/DOMNode.hpp>
#include "DataFormats/DetId/interface/DetId.h"
#include <string>
#include "CondTools/Ecal/interface/EcalCondHeader.h"
#include "CondTools/Ecal/interface/XMLTags.h"
#include "CondTools/Ecal/interface/XercesString.h"
#include <xercesc/dom/DOM.hpp>
#include <sstream>

Go to the source code of this file.

Namespaces

 xuti
 

Functions

xercesc::DOMNode * xuti::getChildNode (xercesc::DOMNode *node, const std::string &nodename)
 get the child of More...
 
template<class T >
void xuti::GetNodeData (xercesc::DOMNode *node, T &value)
 get the node data More...
 
void xuti::GetNodeStringData (xercesc::DOMNode *node, std::string &value)
 get the node data as string. Needs to be used to avoid splitting More...
 
const DetId xuti::readCellId (xercesc::DOMElement *node)
 Assuming. More...
 
void xuti::readHeader (xercesc::DOMNode *parentNode, EcalCondHeader &header)
 read header from More...
 
int xuti::readHeader (const std::string &filename, EcalCondHeader &header)
 read header from any xml file, return -1 in case of error More...
 
xercesc::DOMElement * xuti::writeCell (xercesc::DOMNode *node, const DetId &detid)
 Append a Cell node with attributes to. More...
 
void xuti::writeHeader (xercesc::DOMNode *parentNode, const EcalCondHeader &header)
 write More...
 
template<class T >
void xuti::WriteNodeWithValue (xercesc::DOMNode *parentNode, const std::string &tag, const T &value)
 write a node with More...