/* The multimedia class will hold data on a single multimedia item. It will have private class members for the necessary data for each as well as the necessary accessor and mutator functions. */ #ifndef MeDia #define MeDia #include using namespace std; class Multimedia { public: Multimedia::Multimedia();//initialises data members int Print(ofstream & Out, int POwner);//prints out all of the members of class as per specs. int Delete();//sets all of the data members to default values so it can be recognized as a blank spot in the array in container class. //the next are just mutators and accessors. string getItem(); int setItem(string Input); string getType(); int setType(string Input); string getOwner(); int setBy(string Input); string getBy(); int setOwner(string Input); string getPrice(); int setPrice(string Input); string getAvailability(); int setAvailability(string Input); private: string Item;//item name string Type;//item type string By;//who media item is by string Owner;//owner of said item (email address) string Price;//item price string Availability;//item availability }; #endif