CMS 3D CMS Logo

CalibratedHistogramXML.h
Go to the documentation of this file.
1 #ifndef CalibratedHistogramXML_H
2 #define CalibratedHistogramXML_H
3 #include <xercesc/dom/DOM.hpp>
6 #include <vector>
7 #include <xercesc/dom/DOMNode.hpp>
8 
9 
19 {
20 public:
21  typedef XERCES_CPP_NAMESPACE::DOMElement DOMElement;
22  typedef XERCES_CPP_NAMESPACE::DOMNode DOMNode;
23 
26  CalibratedHistogramXML( const std::vector < float > & ulimits ) :
27  CalibratedHistogram ( ulimits) {}
28  ~CalibratedHistogramXML() override {}
29 
30 
31  void read (DOMElement * dom) override;
32 
33  void write (DOMElement * dom) const override;
34 
35  std::string name () const override
36  {
37  return "CalibratedHistogramXML";
38  }
39 };
40 
41 #endif
CalibratedHistogramXML(const std::vector< float > &ulimits)
std::string name() const override
XERCES_CPP_NAMESPACE::DOMNode DOMNode
CalibratedHistogramXML(const CalibratedHistogram &h)
void write(DOMElement *dom) const override
XERCES_CPP_NAMESPACE::DOMElement DOMElement
void read(DOMElement *dom) override