00001 /* -*- mode: c++ -*- */ 00002 00014 #ifndef _AxisTickXML_H_ 00015 #define _AxisTickXML_H_ 00016 00017 #include "BaseXML.h" 00018 00019 class AxisTick; 00020 00026 class MDL_HIPPOPLOT_API AxisTickXML : virtual public BaseXML 00027 { 00028 00029 private: 00030 00033 static AxisTickXML * s_instance; 00034 00037 std::string m_value; 00038 00041 std::string m_label; 00042 00044 AxisTickXML ( const AxisTickXML & ); 00045 00046 public: 00047 00050 AxisTickXML ( XmlController * controller ); 00051 00055 void setAttributes ( XmlElement & tag, const AxisTick & tick ); 00056 00060 void setAttributes ( AxisTick * tick, const XmlElement * element ); 00061 00062 }; 00063 00064 #endif // _AxisTickXML_H_