1 #ifndef _MISCALIB_READER_FROM_XML_DOM_UTILS_H
2 #define _MISCALIB_READER_FROM_XML_DOM_UTILS_H
7 #include <xercesc/util/XMLString.hpp>
8 #include <xercesc/dom/DOMNamedNodeMap.hpp>
9 #include <xercesc/dom/DOMNode.hpp>
16 inline static int getIntAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attributes,
18 bool &well_formed_string);
20 inline static double getFloatAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attributes,
22 bool &well_formed_string);
30 #include <CalibCalorimetry/CaloMiscalibTools/interface/MiscalibReaderFromXMLDomUtils.icc>
static double getFloatAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attributes, std::string attr_name, bool &well_formed_string)
static int getIntAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attributes, std::string attr_name, bool &well_formed_string)
static std::string toString(const XMLCh *str)
static bool hasAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attributes, std::string attr_name)
static std::string getStringAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attributes, std::string attr_name)