Go to the documentation of this file.00001 #ifndef _HCALCONSTANTSXMLWRITER_H
00002 #define _HCALCONSTANTSXMLWRITER_H
00003 #include <memory>
00004 #include <map>
00005 #include <vector>
00006
00007 #include <xercesc/util/XMLString.hpp>
00008 #include <xercesc/dom/DOMElement.hpp>
00009 #include <xercesc/dom/DOMText.hpp>
00010 #include <xercesc/dom/DOMImplementation.hpp>
00011 #include <xercesc/dom/DOMImplementationRegistry.hpp>
00012 #include <xercesc/dom/DOMDocument.hpp>
00013 #include <xercesc/dom/DOMWriter.hpp>
00014 #include <xercesc/util/XMLString.hpp>
00015
00016 #include <fstream>
00017 #include <iostream>
00018
00019 class HcalConstantsXMLWriter
00020 {
00021 public:
00022 HcalConstantsXMLWriter();
00023 virtual ~HcalConstantsXMLWriter();
00024 void writeXML(std::string&, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<float>);
00025
00026 void newCellLine(xercesc::DOMElement*, int,int,int,int,float);
00027
00028 private:
00029 std::string hcalfileOut_;
00030 xercesc::DOMImplementation* mDom;
00031 xercesc::DOMDocument* mDoc;
00032 };
00033
00034
00035 #endif
00036