00001 /* -*- mode: c++ -*- */ 00002 00014 #ifndef _AxisTickXML_H_ 00015 #define _AxisTickXML_H_ 00016 00017 #include "BaseXML.h" 00018 00019 namespace hippodraw { 00020 00021 class AxisTick; 00022 00028 class MDL_HIPPOPLOT_API AxisTickXML : virtual public BaseXML 00029 { 00030 00031 private: 00032 00035 static AxisTickXML * s_instance; 00036 00039 std::string m_value; 00040 00043 std::string m_label; 00044 00046 AxisTickXML ( const AxisTickXML & ); 00047 00048 public: 00049 00052 AxisTickXML ( XmlController * controller ); 00053 00057 void setAttributes ( XmlElement & tag, const AxisTick & tick ); 00058 00062 void setAttributes ( AxisTick * tick, const XmlElement * element ); 00063 00064 }; 00065 00066 } // namespace hippodraw 00067 00068 #endif // _AxisTickXML_H_