C++/Common/Parser/Parser.h

Go to the documentation of this file.
00001 /* $Id: Parser.h,v 1.3 2005/05/11 11:40:11 pfb Exp $ */
00002 
00003 #ifndef _Parser_h
00004 #define _Parser_h
00005 
00010 #include "../../../Common/Utility/Misc/GoNogo.h"
00011 
00017 class Parser : public GoNogo
00018   {
00019 
00020   //****************************************************************************
00021                              public:
00022   
00026   Parser();
00027   
00031   virtual ~Parser();
00032 
00037   virtual bool Parse();
00038 
00043   virtual void Debug(bool arg);
00044 
00048   void DebugOn();
00049 
00053   void DebugOff();
00054   
00055   //****************************************************************************
00056                              protected:
00057 
00063   int Yyparse();
00064 
00068   bool debug;
00069 
00070   //****************************************************************************
00071                              private:
00072 
00076   Parser(const Parser& );
00077   Parser& operator=(const Parser& );
00078   };
00079 
00083 #endif
00084 
00085 /*
00086  * $Log: Parser.h,v $
00087  * Revision 1.3  2005/05/11 11:40:11  pfb
00088  * Added module info.
00089  *
00090  * Revision 1.2  2004/07/19 04:45:18  pfb
00091  * Added debug flag and so on.
00092  *
00093  * Revision 1.1  2004/07/08 17:18:03  pfb
00094  * Initial rev.
00095  *
00096  *
00097  */