00001
00002
00014 #ifndef _FunctionProjectorXML_H_
00015 #define _FunctionProjectorXML_H_
00016
00017 #include "BaseXML.h"
00018
00019 namespace hippodraw {
00020
00021 class DataRep;
00022 class FunctionBase;
00023 class FunctionProjector;
00024
00031 class MDL_HIPPOPLOT_API FunctionProjectorXML : public BaseXML
00032 {
00033
00034 private:
00035
00037 FunctionProjectorXML ( const FunctionProjectorXML & );
00038
00039 public:
00040
00042 FunctionProjectorXML ( XmlController * );
00043
00046 XmlElement * createElement ( const FunctionProjector & projector );
00047
00049 std::string getFunctionName ( const XmlElement * element );
00050
00052 void setAttributes ( const XmlElement * element, FunctionBase * function );
00053
00056 hippodraw::DataRep *
00057 createFunctionRep ( const XmlElement * element,
00058 hippodraw::DataRep * target );
00059
00060 };
00061
00062 }
00063
00064 #endif // _FunctionProjectorXML_H_