Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!tut.cis.ohio-state.edu!CSSUN.TAMU.EDU!jeffw From: jeffw@CSSUN.TAMU.EDU (Jeffrey A Waller) Newsgroups: gnu.g++.bug Subject: node.h Message-ID: <8910092234.AA14173@cssune.tamu.edu> Date: 9 Oct 89 22:34:03 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 59 #ifndef __IDs #include "IDs.h" #endif #ifndef __stream #define __stream #include #endif #ifndef __node #define __node #ifndef TRUE #define TRUE 1 #endif #ifndef FALSE #define FALSE 0 #endif class LinkedList; class node { friend LinkedList; private: node *pRight; node *pLeft; LinkedList *pRoot; protected: virtual node *Copy(); virtual unsigned long IdentifySelf(); virtual int DerivedFrom(unsigned long derivedid); public: node(); node(node ©node); virtual node &operator=(node ©node); virtual LinkedList operator+(node &addnode); virtual LinkedList operator+(LinkedList &addlist); virtual int Same(node *comparenode); virtual void Print(ostream &output); virtual ~node(); }; #endif