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 namespace std; 00011 00012 class ThreeDFactory : public TopologyFactory { 00013 public: 00014 ThreeDFactory( const string& name ) : TopologyFactory( name ) {}; 00015 virtual TopologyImp * build ( const TopolParams& arg ) 00016 { return new ThreeD( arg ); }; 00017 }; 00018 00019 00020 #endif