00001 #ifndef ThreeDFactory_H 00002 #define ThreeDFactory_H 00003 00004 #include "ThreeD.h" 00005 #include "TopologyFactory.h" 00006 00007 00008 #include <string> 00009 00010 using std::string; 00011 00012 class ThreeDFactory : public TopologyFactory { 00013 00014 public: 00015 00016 ThreeDFactory( const string& name ) : TopologyFactory( name ) {}; 00017 00018 virtual TopologyImp * build ( const TopolParams& arg ) { 00019 return new ThreeD( arg ); 00020 }; 00021 00022 }; 00023 00024 00025 #endif