#ifndef _ITEM_H_ #define _ITEM_H_ #include #include #include using std::string; using std::cout; using std::ostream; using std::endl; /////////////////////////////////////////////////////////////////////////////// // // Class Definition: // Item // // This class will be used to hold the information of a Item. It will provide the following // functions: // 1.) Able to set the information of the Item // 2.) Able to access the information of the Item // 3.) Able to see whether or not the student information is empty // class Item { private: string name; string type; string author; string owner; string price; string availability; public: Item(); void SetName(string namein); void SetType(string typein); void SetAuthor(string authorin); void SetOwner(string ownerin); void SetPrice(string pricein); void SetAvailability(string availabilityin); string GetName() const; string GetType() const; string GetAuthor() const; string GetOwner() const; string GetPrice() const; string GetAvailability() const; void PrintItem(ostream & outFile, bool DisplayOwner) const; bool isEmpty() const; }; #endif