// WordList.h
// declares WordList class
// stores list of words

#ifndef WordList_H
#define WordList_H

#include "cs240.h"
#include "stringlist.h"
#include <string>

class WordList : private CS240 {
		public:
				WordList( string = "" );
				WordList *addGet( string );
				int addURL( string, string );
				string getName();
				WordList *getNext();
				void print( string = "results/");
				void rprint( string = "results/");
				int assignName( string );
				int assignNext( WordList &);
				~WordList();
				void testList();

		private:
				StringList URLList;
				StringList URLDescriptions;
				WordList *Next;
				string value;
};

#endif
