/* Filename: ItemType.h Programmer: Br. David Carlson Date: October 7, 1997 Modified: July 31, 1998 Modified: July 17, 2000 to use modern headers. This header file is used to define ItemType. This particular version is the one for the RamList program. Modify this file to define whatever kind of data you wish to place in your linked list. If the data type does not have =, ==, and > operators, you will need to make overloaded ones. The second two have been provided in this case. */ // The following keeps Itemtype.h from being included more than once: #ifndef ITEMTYPE_H #define ITEMTYPE_H #include using namespace std; typedef long KeyFieldType; typedef float DataFieldType; typedef struct { KeyFieldType KeyField; DataFieldType DataField; } ItemType; // Function prototypes: int operator== (const ItemType & First, const ItemType & Second); int operator> (const ItemType & First, const ItemType & Second); #endif