/* * CSI2131 Winter 2005 * * Lab3 : The Parser class * * Shantanu Das */ #ifndef PARSER_H #define PARSER_H #include #include #include using namespace std; // This class parses a given file class Parser { private: string str; // to store the string read public: // This constructor sets up the Parser object. Parser(); // This is the destructor for the class. virtual ~Parser(); // reads the string between the delimiters a and b void getstr(istream& fs, char a, char b); void printstr(ostream& fs); //outputs the string to fs; }; #endif