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_
#define MDL_HIPPOPLOT_API
Definition: libhippo.h:36
std::string m_contours
The attribute name for number of contours.
Definition: DataRepXML.h:68
The BinningProjector is an abstract class provides most of the functionality for a projector that doe...
NTupleProjectorXML * m_nTupleProjector
The NTupleProjectorXML instance used by this class.
Definition: DataRepXML.h:55
BinningProjectorXML * m_binningProjectorXML
the BinningProjectorXML instance used by this class.
Definition: DataRepXML.h:58
A class that is does XML serialization and de-serialization of derived classes of DataRep...
Definition: DataRepXML.h:46
BaseXML class interface.
FunctionProjectorXML * m_functionProjector
The FunctionProjectorXML instance used by this class.
Definition: DataRepXML.h:61
MapMatrixProjectorXML * m_mapMatrixProjectorXML
The MapMatrixProjectorXML instance used by this class.
Definition: DataRepXML.h:65
An NTupleProjector is a projector that projects data from an DataSource object.
A pure virtual base class of XML element wrapper.
Definition: XmlElement.h:30
PointRepXML * m_pointrep
The PointRepXML instance used by this class.
Definition: DataRepXML.h:52
An class XML doing serialization and deserialization of derived classes of BinningProjector.
An class XML doing serialization and de-serialization of derived classes of MapMatrixProjector.
return rep
Definition: Inspector.cxx:3843
A singleton class that is does XML serialization and de-serialization of derived classes of RepBase...
Definition: PointRepXML.h:30
The base class for data representations.
Definition: DataRep.h:68
A derived class of NTupleProjector that maps 1 DataSource column to a Y axis of two dimensional proje...
An class XML doing serialization and deserialization of derived classes of NTupleProjector.
An class XML doing serialization and deserialization of derived classes of FunctionProjector.
A base class of XML element controllers.
Definition: BaseXML.h:35
A base class that is the interface between GUI and the XML serialization and deserialization.
Definition: XmlController.h:53
A projector that plots one function.

Generated for HippoDraw Class Library by doxygen