00001 /* -*- mode: c++ -*- */ 00002 00014 #ifndef _PointRepXML_H_ 00015 #define _PointRepXML_H_ 00016 00017 #include "BaseXML.h" 00018 00019 namespace hippodraw { 00020 00021 class BinToColorXML; 00022 class ColorXML; 00023 class RepBase; 00024 00030 class MDL_HIPPOPLOT_API PointRepXML : public BaseXML 00031 { 00032 00033 private: 00034 00036 ColorXML * m_color_xml; 00037 00040 BinToColorXML * m_bintocolor_xml; 00041 00044 std::string a_size; 00045 00048 std::string a_style; 00049 00052 std::string a_xerror; 00053 00056 std::string a_yerror; 00057 00060 std::string a_text; 00061 00064 std::string a_value_transform; 00065 00067 void setAttributes ( XmlElement & tag, const RepBase & rep ); 00068 00070 PointRepXML ( const PointRepXML & ); 00071 00072 public: 00073 00075 PointRepXML ( XmlController * ); 00076 00079 ~PointRepXML (); 00080 00082 XmlElement * createElement ( const RepBase & rep ); 00083 00088 RepBase * createObject ( const XmlElement * element ); 00089 00090 }; 00091 00092 } // namespace hippodraw 00093 00094 #endif // _PointRepXML_H_