ViewBaseXML.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _ViewBaseXML_H_
15 #define _ViewBaseXML_H_
16 
17 #include "BaseXML.h"
18 
19 namespace hippodraw {
20 
21 class PlotterBaseXML;
22 class ViewBase;
23 
30 {
31 
32 private:
33 
35  std::string m_x;
36 
38  std::string m_y;
39 
41  std::string m_w;
42 
44  std::string m_h;
45 
47  ViewBaseXML ( const ViewBaseXML & );
48 
51 
53  void createChild ( XmlElement & tag, const ViewBase & view );
54 
55 public:
56 
60 
63  ~ViewBaseXML ();
64 
67  XmlElement * createElement ( const ViewBase & view );
68 
71  bool areDataSourcesSaved ( const ViewBase & view );
72 
75  virtual void getObjects ( const XmlElement * element );
76 
79  void connectPlotters ( const XmlElement * root );
80 
81 };
82 
83 } // namespace hippodraw
84 
85 #endif // _ViewBaseXML_H_
#define MDL_HIPPOPLOT_API
Definition: libhippo.h:36
BaseXML class interface.
std::string m_y
Attribute name for the Y coordinate.
Definition: ViewBaseXML.h:38
A pure virtual base class of XML element wrapper.
Definition: XmlElement.h:30
std::string m_x
Attribute name for the X coordinate.
Definition: ViewBaseXML.h:35
A class XML creation and parsing of XmlElement for ViewBase class.
Definition: ViewBaseXML.h:29
std::string m_w
Attribute name for the width.
Definition: ViewBaseXML.h:41
PlotterBaseXML * m_plotter_xml
The PlotterBaseXML instance used by this object.
Definition: ViewBaseXML.h:50
The abstract base class for views.
Definition: ViewBase.h:62
std::string m_h
Attribute name for the height.
Definition: ViewBaseXML.h:44
A base class of XML element controllers.
Definition: BaseXML.h:35
A class that is does XML serialization and de-serialization of derived classes of PlotterBase...
A base class that is the interface between GUI and the XML serialization and deserialization.
Definition: XmlController.h:53

Generated for HippoDraw Class Library by doxygen