Advertisement
Broatlas

GraphicElement.h

Oct 7th, 2016
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.40 KB | None | 0 0
  1. // GraphicElement.h
  2. #include"Shape.h"
  3. #include <vector>
  4. using namespace std;
  5.  
  6. class GraphicElement : public vector<Shape*>
  7. {
  8.     static const int SIZE = 256;
  9.     char name[SIZE];
  10. public:
  11.     GraphicElement(Shape**, char*, unsigned int);
  12.     GraphicElement(const GraphicElement&);
  13.     GraphicElement& operator=(GraphicElement&);
  14.     ~GraphicElement();
  15.     friend ostream& operator<<(ostream&, GraphicElement&);
  16. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement