DataRepXML.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
17 #ifndef _DataRepXML_H_
18 #define _DataRepXML_H_
19 
20 #include "BaseXML.h"
21 
22 namespace hippodraw {
23 
24 class BinningProjector;
25 class BinningProjectorXML;
26 class DataRep;
27 class FunctionProjector;
28 class FunctionProjectorXML;
29 class MapMatrixProjector;
30 class MapMatrixProjectorXML;
31 class NTupleProjector;
32 class NTupleProjectorXML;
33 class PointRepXML;
34 class TextDataRep;
35 
47 {
48 
49 private:
50 
53 
56 
59 
62 
66 
68  std::string m_contours;
69 
71  void createChildren ( XmlElement & tag, const hippodraw::DataRep & rep );
72 
75  void createChildren ( XmlElement & tag,
76  const NTupleProjector * projector );
77 
80  void createChildren ( XmlElement & tag,
81  const BinningProjector * projector );
82 
86  void createChildren ( XmlElement & tag,
87  const MapMatrixProjector * projector );
88 
91  void createChildren ( XmlElement & tag,
92  const FunctionProjector * projector );
93 
95  void createFunctionTargetChild ( XmlElement & tag,
96  const hippodraw::DataRep & rep );
97 
101  hippodraw::DataRep * createDataRep ( const XmlElement * element );
102 
108  hippodraw::DataRep * createDataRep ( const XmlElement * dr_element,
109  const XmlElement * ntp_element );
110 
114  hippodraw::DataRep * getTextRepObject ( const XmlElement * );
115 
116 public:
117 
120 
123  ~DataRepXML ();
124 
126  XmlElement * createElement ( const hippodraw::DataRep & rep );
127 
129  hippodraw::DataRep * createObject ( const XmlElement * element );
130 
131 };
132 
133 } // namespace hippodraw
134 
135 #endif // _DataRepXML_H_

Generated for HippoDraw Class Library by doxygen