00001 /* $Id: FileParser.h,v 1.4 2005/06/10 07:49:02 pfb Exp $ */ 00002 00003 #ifndef _FileParser_h 00004 #define _FileParser_h 00005 00010 #include "Parser.h" 00011 00012 #include <string> 00013 00014 class FileParser : public Parser 00015 { 00016 00017 //**************************************************************************** 00018 public: 00019 00023 FileParser(const std::string& file); 00024 00028 virtual ~FileParser(); 00029 00034 bool Parse(); 00035 00036 //****************************************************************************** 00037 protected: 00038 00045 virtual int Yyparse(const std::string& path); 00046 00050 std::string file; 00051 00052 //****************************************************************************** 00053 private: 00054 00058 FileParser(const FileParser& ); 00059 FileParser& operator=(const FileParser& ); 00060 00061 }; 00062 00066 #endif 00067 00068 /* 00069 * $Log: FileParser.h,v $ 00070 * Revision 1.4 2005/06/10 07:49:02 pfb 00071 * Changes made as a result of dev. machine update from woody to sarge. 00072 * Most of the changes are because of the upgrade from gcc-2.95 to gcc-3.3. 00073 * 00074 * Revision 1.3 2005/05/11 11:40:11 pfb 00075 * Added module info. 00076 * 00077 * Revision 1.2 2004/07/13 08:22:51 pfb 00078 * Moved Yyparse from provate to protected and made virtual. 00079 * 00080 * Revision 1.1 2004/07/09 11:46:14 pfb 00081 * Initial rev. 00082 * 00083 * 00084 */