I have this header file and I need the implementation forseveral functions: retrieve, merge and isSubset. Thank you.
class OrderedList : public List<DataType>
{
public:
static const int DEFAULT_MAX_LIST_SIZE = 10;
// Constructor
OrderedList ( int maxNumber = DEFAULT_MAX_LIST_SIZE );
// Modified (or new) list manipulation operations
virtual void insert ( const DataType &newDataItem ) throw (logic_error );
virtual void replace ( const DataType &newDataItem ) throw (logic_error );
bool retrieve ( const KeyType& searchKey, DataType&searchDataItem );
// Output the list structure — used in testing/debugging
void showStructure () const;
// In-lab operations
void merge ( const OrderedList<DataType,KeyType>&other ) throw ( logic_error );
bool isSubset ( const OrderedList<DataType,KeyType>&other );
// Inheritance using templates is somewhat ugly
PayPal Gateway not configured
PayPal Gateway not configured