LinearParser.h

00001 
00005 #ifndef _LinearParser_h
00006 #define _LinearParser_h
00007 
00008 // SYSTEM INCLUDES
00009 //
00010 
00011 // PROJECT INCLUDES
00012 //
00013 
00014 // LOCAL INCLUDES
00015 //
00016 #include "Parser.h"
00017 #include "Tokenizer.h"
00018 
00019 // FORWARD REFERENCES
00020 //
00021 
00022 
00023 class LinearParser
00024     : public Parser
00025 {
00026 public:
00027 // LIFECYCLE
00028 
00031     LinearParser(void);
00032 
00033 
00036     ~LinearParser(void);
00037 
00038 
00039 // OPERATORS
00040 
00041 // OPERATIONS
00042 
00043     virtual std::auto_ptr<FunctionBase> CreateFunction(
00044                                                 const wxString& input,
00045                                                 VariableNames&  rVariables,
00046                                                 bool            resetVariables)
00047                                         const throw(ParseError);
00048 
00049 
00050 // ACCESS
00051 // INQUIRY
00052 
00053 protected:
00054 private:
00056     std::auto_ptr<const FunctionTree>   Expression(Tokenizer& rTokenizer) const;
00057 
00059     std::auto_ptr<const FunctionTree>   Product(Tokenizer&  rTokenizer,
00060                                                 bool        first = false)
00061                                         const;
00062 };
00063 
00064 // INLINE METHODS
00065 //
00066 
00067 // EXTERNAL REFERENCES
00068 //
00069 
00070 #endif  // _LinearParser_h

Wygenerowano Fri Sep 29 21:04:47 2006 dla EduOptim2 programem  doxygen 1.4.6