00001 /* -*- mode: c++ -*- 00002 * 00003 * HippoPlot ColorXML class interface 00004 * 00005 * Copyright (C) 2002 The Board of Trustees of The Leland Stanford 00006 * Junior University. All Rights Reserved. 00007 * 00008 * $Id: ColorXML.h,v 1.5 2004/11/05 22:38:15 pfkeb Exp $ 00009 * 00010 * 00011 */ 00012 00013 #ifndef _ColorXML_H_ 00014 #define _ColorXML_H_ 00015 00016 #include "BaseXML.h" 00017 00018 class Color; 00019 00025 class MDL_HIPPOPLOT_API ColorXML : public BaseXML 00026 { 00027 00028 private: 00029 00031 ColorXML ( const ColorXML & ); 00032 00034 std::string m_red; 00035 00037 std::string m_green; 00038 00040 std::string m_blue; 00041 00042 public: 00043 00045 ColorXML ( XmlController * ); 00046 00049 XmlElement * createElement ( const Color & color ); 00050 00052 Color * createObject ( const XmlElement * element ); 00053 00054 }; 00055 00056 #endif // _ColorXML_H_