00001
00002
00013 #ifndef _AxisTick_H_
00014 #define _AxisTick_H_
00015
00016 #include <string>
00017
00018 #include "pattern/libhippo.h"
00019
00020
00021 namespace hippodraw {
00022
00029 class MDL_HIPPOPLOT_API AxisTick
00030 {
00031
00032 private:
00033
00035 double m_v;
00036
00038 std::string m_c;
00039
00040 public:
00041
00044 AxisTick ( );
00045
00047 AxisTick ( const AxisTick & );
00048
00050 AxisTick( double v, const std::string & s );
00051
00053 double value ( ) const;
00054
00056 void setValue ( double );
00057
00059 const std::string & content ( ) const;
00060
00062 void setContent ( const std::string & );
00063 };
00064
00065 }
00066
00067 #endif // _AxisTick_H_