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>
16 inline static int getIntAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attributes,
std::string attr_name,
bool &well_formed_string);
18 inline static double getFloatAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attributes,
std::string attr_name,
bool &well_formed_string);
26 #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)