CMtuAdaptiveConfigParser.hpp

Go to the documentation of this file.
00001 #ifndef INC_CMtuAdaptiveConfigParser_hpp_
00002 #define INC_CMtuAdaptiveConfigParser_hpp_
00003 
00004 #include <antlr/config.hpp>
00005 /* $ANTLR 2.7.6 (20070220): "CMtuAdaptiveConfig.g" -> "CMtuAdaptiveConfigParser.hpp"$ */
00006 #include <antlr/TokenStream.hpp>
00007 #include <antlr/TokenBuffer.hpp>
00008 #include "CMtuAdaptiveConfigParserTokenTypes.hpp"
00009 #include <antlr/LLkParser.hpp>
00010 
00011 #line 1 "CMtuAdaptiveConfig.g"
00012 
00013         #include <string>
00014         #include <vector>
00015         #include <iostream>
00016 
00017 #line 18 "CMtuAdaptiveConfigParser.hpp"
00018 class CUSTOM_API CMtuAdaptiveConfigParser : public antlr::LLkParser, public CMtuAdaptiveConfigParserTokenTypes
00019 {
00020 #line 20 "CMtuAdaptiveConfig.g"
00021 
00022 private: 
00023 int i; double dtemp; int itemp; std::string stemp; bool btemp;
00024 public: 
00025 double mu;
00026 double delta;
00027 double lambda;
00028 int filterlength;
00029 int shift;
00030 double secfactor;
00031 double alpha;
00032 int hiddenlayers;
00033 #line 22 "CMtuAdaptiveConfigParser.hpp"
00034 public:
00035         void initializeASTFactory( antlr::ASTFactory& factory );
00036 protected:
00037         CMtuAdaptiveConfigParser(antlr::TokenBuffer& tokenBuf, int k);
00038 public:
00039         CMtuAdaptiveConfigParser(antlr::TokenBuffer& tokenBuf);
00040 protected:
00041         CMtuAdaptiveConfigParser(antlr::TokenStream& lexer, int k);
00042 public:
00043         CMtuAdaptiveConfigParser(antlr::TokenStream& lexer);
00044         CMtuAdaptiveConfigParser(const antlr::ParserSharedInputState& state);
00045         int getNumTokens() const
00046         {
00047                 return CMtuAdaptiveConfigParser::NUM_TOKENS;
00048         }
00049         const char* getTokenName( int type ) const
00050         {
00051                 if( type > getNumTokens() ) return 0;
00052                 return CMtuAdaptiveConfigParser::tokenNames[type];
00053         }
00054         const char* const* getTokenNames() const
00055         {
00056                 return CMtuAdaptiveConfigParser::tokenNames;
00057         }
00058         public: void configentry();
00059         public: double  numvalue();
00060         public: void configfile();
00061         public: bool  boolvalue();
00062         public: std::string  stringvalue();
00063 public:
00064         antlr::RefAST getAST()
00065         {
00066                 return returnAST;
00067         }
00068         
00069 protected:
00070         antlr::RefAST returnAST;
00071 private:
00072         static const char* tokenNames[];
00073 #ifndef NO_STATIC_CONSTS
00074         static const int NUM_TOKENS = 25;
00075 #else
00076         enum {
00077                 NUM_TOKENS = 25
00078         };
00079 #endif
00080         
00081         static const unsigned long _tokenSet_0_data_[];
00082         static const antlr::BitSet _tokenSet_0;
00083         static const unsigned long _tokenSet_1_data_[];
00084         static const antlr::BitSet _tokenSet_1;
00085         static const unsigned long _tokenSet_2_data_[];
00086         static const antlr::BitSet _tokenSet_2;
00087         static const unsigned long _tokenSet_3_data_[];
00088         static const antlr::BitSet _tokenSet_3;
00089         static const unsigned long _tokenSet_4_data_[];
00090         static const antlr::BitSet _tokenSet_4;
00091         static const unsigned long _tokenSet_5_data_[];
00092         static const antlr::BitSet _tokenSet_5;
00093         static const unsigned long _tokenSet_6_data_[];
00094         static const antlr::BitSet _tokenSet_6;
00095 };
00096 
00097 #endif /*INC_CMtuAdaptiveConfigParser_hpp_*/

Generated on Thu Nov 22 13:58:25 2007 for GPLIB++ by  doxygen 1.5.1