CMS 3D CMS Logo

EcalWeightSetXMLTranslator.h
Go to the documentation of this file.
1 
10 #ifndef __EcalWeightSetXMLTranslator_h_
11 #define __EcalWeightSetXMLTranslator_h_
12 
15 #include <xercesc/dom/DOMElement.hpp>
16 #include <string>
17 
19 public:
21 
23 
24  static int writeXML(const std::string& filename, const EcalCondHeader& header, const EcalWeightSet& record);
25 
26 private:
28 
29  static void write10x10(xercesc::DOMElement* node, const EcalWeightSet& record);
30  static void write3x10(xercesc::DOMElement* node, const EcalWeightSet& record);
31 };
32 
33 #endif // __EcalWeightSetXMLTranslator_h_
static int readXML(const std::string &filename, EcalCondHeader &header, EcalWeightSet &record)
static int writeXML(const std::string &filename, const EcalCondHeader &header, const EcalWeightSet &record)
static std::string dumpXML(const EcalCondHeader &header, const EcalWeightSet &record)
static void write3x10(xercesc::DOMElement *node, const EcalWeightSet &record)
static void write10x10(xercesc::DOMElement *node, const EcalWeightSet &record)