Go to the documentation of this file.00001
00009 #ifndef __EcalChannelStatusXMLTranslator_h_
00010 #define __EcalChannelStatusXMLTranslator_h_
00011
00012 #include "CondFormats/EcalObjects/interface/EcalChannelStatus.h"
00013 #include "CondTools/Ecal/interface/EcalCondHeader.h"
00014 #include "CondTools/Ecal/interface/XMLTags.h"
00015 #include "CondTools/Ecal/interface/XercesString.h"
00016 #include <string>
00017 #include <xercesc/dom/DOMNode.hpp>
00018
00019 static const char CVSId__EcalChannelStatusXMLTranslator[] =
00020 "$Id: EcalChannelStatusXMLTranslator.h,v 1.2 2009/06/30 14:40:11 argiro Exp $";
00021
00022
00023
00024
00025 class EcalChannelStatusXMLTranslator {
00026
00027 public:
00028
00029 static int readXML (const std::string& filename,
00030 EcalCondHeader& header,
00031 EcalChannelStatus& record);
00032
00033 static int writeXML (const std::string& filename,
00034 const EcalCondHeader& header,
00035 const EcalChannelStatus& record);
00036
00037 static std::string dumpXML(const EcalCondHeader& header,
00038 const EcalChannelStatus& record);
00039
00040 };
00041
00042
00043
00044 #endif // __EcalChannelStatusXMLTranslator_h_
00045
00046
00047
00048
00049
00050