Lab 8  Version 8
This is an array of shapes
 All Classes Functions
ShapeStore.h
1 #ifndef SHAPESTORE_H
2 #define SHAPESTORE_H
3 
4 #include <string>
5 #include "Shape.h"
6 
7 class ShapeStore
8 {
9 private:
10  Shape store[10]; // this is the array that we are using to store the shapes
11  int count; //this represents the number of shapes currently stored.
12 public:
16  ShapeStore();
21  void addShape( Shape shape );
22 
30 
38  Shape findShapeWithThisColor( string color ) const;
39 };
40 
41 #endif