00001 /* -*- mode: c++ -*- */ 00002 00014 #ifndef _FunctionProjectorXML_H_ 00015 #define _FunctionProjectorXML_H_ 00016 00017 #include "BaseXML.h" 00018 00019 class DataRep; 00020 class FunctionBase; 00021 class FunctionProjector; 00022 00029 class MDL_HIPPOPLOT_API FunctionProjectorXML : public BaseXML 00030 { 00031 00032 private: 00033 00035 FunctionProjectorXML ( const FunctionProjectorXML & ); 00036 00037 public: 00038 00040 FunctionProjectorXML ( XmlController * ); 00041 00044 XmlElement * createElement ( const FunctionProjector & projector ); 00045 00047 std::string getFunctionName ( const XmlElement * element ); 00048 00050 void setAttributes ( const XmlElement * element, FunctionBase * function ); 00051 00054 DataRep * createFunctionRep ( const XmlElement * element, DataRep * target ); 00055 00056 }; 00057 00058 #endif // _FunctionProjectorXML_H_