Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

stringlist.h

Go to the documentation of this file.
00001 /* 
00002    StringList -- a list of strings
00003 
00004 */
00005 
00006 #ifndef STRINGLIST
00007 #define STRINGLIST
00008 #include "misc.h"
00009 
00010 class CStringList {
00011   char * Text;
00012   CStringList * Next;
00013  public:
00014   CStringList() { Text = NULL; Next = NULL; };
00015   CStringList(char * text);
00016   CStringList(CStringList &orig);
00017   
00018   CStringList * Add_Element(char * text);
00019   CStringList * Add_Element(CStringList * d);
00020   void Delete_All();
00021   void Output_Debug(ostream &stream);
00022   void Output_Formatted(ostream &stream, char * sep);
00023   
00024   CStringList * Get_Next() { return Next;};
00025   char * Get_Text() { return Text; };
00026 };
00027 
00028 #endif
00029 
00030 
00031 
00032 
00033 
00034 
00035 

Generated on Sat May 8 14:08:33 2004 for Thrint by doxygen 1.3.6