Article View: gnu.g++.bug
Article #482Stringnode.h
From: Jeffrey A Waller
Date: Mon, 09 Oct 1989 22:34
Date: Mon, 09 Oct 1989 22:34
40 lines
1027 bytes
1027 bytes
#ifndef __node
#include "node.h"
#endif
#ifndef __string
#include "strng.h"
#endif
#ifndef __Stringnode
#define __Stringnode
class Stringnode: public node
{ private:
string stringdata;
protected:
virtual node *Copy();
virtual unsigned long IdentifySelf();
virtual int DerivedFrom(unsigned long derivedid);
public:
Stringnode(char* copyfrom = 0);
Stringnode(Stringnode &sn);
virtual Stringnode &operator=(Stringnode &sn);
virtual int Same(node *comparenode);
virtual void Print(ostream &output);
virtual ~Stringnode();
};
#endif
Technical Details
Message-ID:
<8910092234.AA14177@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: Stringnode.h Message-ID: <8910092234.AA14177@cssune.tamu.edu> Date: 9 Oct 89 22:34:24 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 40