shapefactory.h
1 #ifndef SHAPEFACTORY_H_
2 #define SHAPEFACTORY_H_
3 
4 #include "shape.h"
5 #include <string>
6 
14 {
15  private:
21 
22  public:
37  static Shape* createShape(std::string name);
38 };
39 
40 #endif
static Shape * createShape(std::string name)
Definition: shapefactory.cpp:36
Definition: shape.h:16
Definition: shapefactory.h:13