Question: 3 Your Tasks The key abstractions employed in this program are Inventory, Item, and ItemStack. Complete ADT implementations have been provided for the latter two.
Your Tasks
The key abstractions employed in this program are Inventory, Item, and ItemStack. Complete ADT implementations have been provided for the latter two.
The Inventory class is partially implemented. Your task is to complete the Inventory ADT. The code provided will not run correctly until you complete all the following methods:
Copy Constructor
Destructor
Assignment Operator
Note this is already provided and complete. Refer to our discussions of the copyandswap method.
Once you have completed the Copy Constructor and Destructor, you are done with the Big
Inventory: : isfull refer to documentation in Inventory.h
Inventory: : findMatchingItemStackNode refer to documentation in Inventory.h
Inventory: : mergestacks refer to documentation in Inventory.h
Inventory: : addItemStackNocheck refer to documentation in Inventory.
The partial implementation provided assumes that each Inventory will keep track of items in a linked list. You must not change this choice of data structure... unless you want a zero.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
