CMS 3D CMS Logo

Namespaces | Functions

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/CondTools/Ecal/interface/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

namespace  xuti

Functions

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