#ifndef ITEMINFO_H #define ITEMINFO_H //===================================================================== /* The Item info class will be a multimedia item. Each item will have a name, a type, an author, an owner (which will be a student email), a price, and a field indicating whether the item is one of the following: will sell, will rent, will trade, will lend, or none of the above. */ //===================================================================== // includes #include using namespace std; // class definition class ItemInfo { public: //default constructor ItemInfo(); // Mutators void SetItem(const string);// set item name void SetType(const string);//set item type void SetAuthor(const string);//set author's name void SetEmail(const string);//set owner's e-mail void SetPrice (const string);// set price void SetAvailability(const string);// set availability // Reporters string GetItem() const; // get the item's name string GetType() const; // get the item's type string GetAuthor() const; // get the author's name string GetEmail() const; // get the owner's e-mail string GetPrice() const; // get the price string GetAvailability() const; // get the availability private: // declare all string variables string item, // item's name type, // item's type author, // author's name email, // owner's e-mail price, // item's price status; // item's status }; #endif