Article View: gnu.g++.bug
Article #483node.h
From: Jeffrey A Waller
Date: Mon, 09 Oct 1989 22:34
Date: Mon, 09 Oct 1989 22:34
59 lines
1314 bytes
1314 bytes
#ifndef __IDs
#include "IDs.h"
#endif
#ifndef __stream
#define __stream
#include <stream.h>
#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
Technical Details
Message-ID:
<8910092234.AA14173@cssune.tamu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!tut.cis.ohio-state.edu!CSSUN.TAMU.EDU!jeffwShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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