//  File: stringitem.h
//
//  Class for string data stored in a TreeNode


#ifndef _stringitem_h
#define _stringitem_h

typedef char * data ;

class Item {
public:
   data item ;		// what we store

   Item() ;		// default constructor
   Item(data) ;		// alternate constructor
   ~Item() ;		// destructor
   data copy() ;	// make a copy
   int compare(data) ;	// <0 is smaller, =0 is equal, >0 is bigger
   void print() ;	// print to stdout
} ;

#endif
