00001 /* -*- mode: c++ -*- 00002 * 00003 * HippoPlot BinnerAxisXML class interface 00004 * 00005 * Copyright (C) 2003 The Board of Trustees of The Leland Stanford 00006 * Junior University. All Rights Reserved. 00007 * 00008 * $Id: BinnerAxisXML.h,v 1.4 2004/06/27 21:20:05 pfkeb Exp $ 00009 * 00010 */ 00011 00012 #ifndef _BinnerAxisXML_H_ 00013 #define _BinnerAxisXML_H_ 00014 00015 #include "BaseXML.h" 00016 00017 class BinnerAxis; 00018 00024 class MDL_HIPPOPLOT_API BinnerAxisXML : public BaseXML 00025 { 00026 00027 private: 00028 00030 BinnerAxisXML ( const BinnerAxisXML & ); 00031 00033 std::string m_width; 00034 00036 std::string m_high; 00037 00039 std::string m_low; 00040 00043 void setAttributes ( XmlElement * tag, const BinnerAxis & binner ); 00044 00045 public: 00046 00049 BinnerAxisXML ( XmlController * ); 00050 00053 XmlElement * createElement ( const BinnerAxis & binner ); 00054 00057 virtual BinnerAxis * createObject ( const XmlElement * element ); 00058 00059 }; 00060 00061 #endif // _BinnerAxisXML_H_