CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MiscalibReaderFromXMLDomUtils.h
Go to the documentation of this file.
1 #ifndef _MISCALIB_READER_FROM_XML_DOM_UTILS_H
2 #define _MISCALIB_READER_FROM_XML_DOM_UTILS_H
3 
4 #include <stdio.h>
5 #include <stdlib.h>
6 #include <string>
7 #include <xercesc/util/XMLString.hpp>
8 #include <xercesc/dom/DOMNamedNodeMap.hpp>
9 
12 {
13 public:
14  inline static std::string toString(const XMLCh *str);
15 
16  inline static int getIntAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attributes, std::string attr_name, bool &well_formed_string);
17 
18  inline static double getFloatAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attributes, std::string attr_name, bool &well_formed_string);
19 
20  inline static std::string getStringAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attributes, std::string attr_name);
21 
22  inline static bool hasAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attributes, std::string attr_name);
23 
24 };
25 
26 #include <CalibCalorimetry/CaloMiscalibTools/interface/MiscalibReaderFromXMLDomUtils.icc>
27 
28 #endif
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)