🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Jeffrey A Waller Mon, 09 Oct 1989 22:34
node.h
#483
Author: Jeffrey A Waller
Date: Mon, 09 Oct 1989 22:34
59 lines
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 &copynode);

      virtual node &operator=(node &copynode);

      virtual LinkedList operator+(node &addnode);

      virtual LinkedList operator+(LinkedList &addlist);

      virtual int Same(node *comparenode);
  
      virtual void Print(ostream &output);
      
      virtual ~node();
 };

#endif
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads