CLevanisoConfParser.hpp

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

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