00001 /* -*- mode: c++ -*- */ 00002 00014 #ifndef _PointRepXML_H_ 00015 #define _PointRepXML_H_ 00016 00017 #include "BaseXML.h" 00018 00019 class BinToColorXML; 00020 class ColorXML; 00021 class RepBase; 00022 00028 class MDL_HIPPOPLOT_API PointRepXML : public BaseXML 00029 { 00030 00031 private: 00032 00034 ColorXML * m_color_xml; 00035 00038 BinToColorXML * m_bintocolor_xml; 00039 00042 std::string a_size; 00043 00046 std::string a_style; 00047 00050 std::string a_xerror; 00051 00054 std::string a_yerror; 00055 00058 std::string a_value_transform; 00059 00061 void setAttributes ( XmlElement & tag, const RepBase & rep ); 00062 00064 PointRepXML ( const PointRepXML & ); 00065 00066 public: 00067 00069 PointRepXML ( XmlController * ); 00070 00072 XmlElement * createElement ( const RepBase & rep ); 00073 00078 RepBase * createObject ( const XmlElement * element ); 00079 00080 }; 00081 00082 #endif // _PointRepXML_H_