00001 #ifndef SHAPEFACTORY_H_ 00002 #define SHAPEFACTORY_H_ 00003 00004 #include "shape.h" 00005 #include <string> 00006 00013 class RandomSizeShapeFactory 00014 { 00015 private: 00020 RandomSizeShapeFactory(); 00021 00022 public: 00037 static Shape* createShape(std::string name); 00038 }; 00039 00040 #endif