#include <string> class itemClass { public: /* This method returns the search key. The bstClass requires a treeItemType that has a Key method to return the search key. */ string Key() const; /* This is a pro-forma method for giving theString a value. It's something the driver can use. The bstClass doesn't need it. */ void setKey(string inString); private: string theString ; // just something to use as data } ; // end class