#ifndef ITEM__H #define ITEM__H #include #include "point.h" class Item { public: // Constructors Item(); Item(std::string& tName); Item(std::string& tName, Point& tP); Item(const Item& I); // Destructor ~Item(); // Point Functions void SetPoint(int x, int y); void SetPoint(Point& tP); Point GetPoint() const; // Name Functions void SetName(std::string& tName); std::string GetName() const; // Serial Functions int GetSerial(); // Utility Functions void Report(); // Operators bool operator==(Item& I); //abstract Item operator=(Item& I); protected: private: Point P; std::string Name; int Serial; static int ICount; }; #endif