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