CMS 3D CMS Logo

MiscalibReaderFromXMLDomUtils.h

Go to the documentation of this file.
00001 #ifndef _MISCALIB_READER_FROM_XML_DOM_UTILS_H
00002 #define _MISCALIB_READER_FROM_XML_DOM_UTILS_H
00003 
00004 #include <stdio.h>
00005 #include <stdlib.h>
00006 #include <string>
00007 #include <xercesc/util/XMLString.hpp>
00008 #include <xercesc/dom/DOMNamedNodeMap.hpp>
00009 
00011 class MiscalibReaderFromXMLDomUtils
00012 {
00013 public:
00014   inline static std::string toString(const XMLCh *str);
00015 
00016   inline static int getIntAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attributes, std::string attr_name, bool &well_formed_string);
00017   
00018   inline static double getFloatAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attributes, std::string attr_name, bool &well_formed_string);
00019 
00020   inline static std::string getStringAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attributes, std::string attr_name);
00021 
00022   inline static bool hasAttribute(XERCES_CPP_NAMESPACE::DOMNamedNodeMap *attributes, std::string attr_name);
00023   
00024 };
00025 
00026 #include <CalibCalorimetry/CaloMiscalibTools/interface/MiscalibReaderFromXMLDomUtils.icc>
00027 
00028 #endif

Generated on Tue Jun 9 17:25:12 2009 for CMSSW by  doxygen 1.5.4