00001 #ifndef GEAR_GearParametersXML_H
00002 #define GEAR_GearParametersXML_H 1
00003
00004
00005 #include "gearxml/XMLHandler.h"
00006
00007 #include "gearimpl/GearParametersImpl.h"
00008
00009 #include <string>
00010
00011
00012 namespace gear {
00013
00014
00015 class TiXmlNode ;
00016
00017
00023 class GearParametersXML : public XMLHandler {
00024
00025 public:
00026
00029 virtual TiXmlElement toXML( GearParameters* parameters ) const ;
00030
00031
00035 virtual GearParameters* fromXML( const TiXmlElement* xmlElement, GearMgr* gearMgr=0) const ;
00036
00037
00040 static void setParametersFromXML( const TiXmlElement* xmlElement, GearParametersImpl* gearParams );
00041
00042 protected:
00043
00044
00045
00046
00047
00048 };
00049
00050 }
00051
00052 #endif