AxisTickXML.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _AxisTickXML_H_
15 #define _AxisTickXML_H_
16 
17 #include "BaseXML.h"
18 
19 namespace hippodraw {
20 
21 class AxisTick;
22 
28 class MDL_HIPPOPLOT_API AxisTickXML : virtual public BaseXML
29 {
30 
31 private:
32 
36 
39  std::string m_value;
40 
43  std::string m_label;
44 
46  AxisTickXML ( const AxisTickXML & );
47 
48 public:
49 
52  AxisTickXML ( XmlController * controller );
53 
57  void setAttributes ( XmlElement & tag, const AxisTick & tick );
58 
62  void setAttributes ( AxisTick * tick, const XmlElement * element );
63 
64 };
65 
66 } // namespace hippodraw
67 
68 #endif // _AxisTickXML_H_
#define MDL_HIPPOPLOT_API
Definition: libhippo.h:36
A class to maintain tick coordinates and string values.
Definition: AxisTick.h:29
BaseXML class interface.
A pure virtual base class of XML element wrapper.
Definition: XmlElement.h:30
std::string m_label
The attribute name for tick labels.
Definition: AxisTickXML.h:43
A base class of XML element controllers.
Definition: BaseXML.h:35
static AxisTickXML * s_instance
The pointer to the singleton object.
Definition: AxisTickXML.h:35
std::string m_value
The attribute name for tick values.
Definition: AxisTickXML.h:39
A class that is does XML serialization and de-serialization of AxisTick with XML. ...
Definition: AxisTickXML.h:28
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