Isis 3 Developer Reference
InlineInfixToPostfix.h
Go to the documentation of this file.
1 #ifndef InlineInfixToPostfix_h
2 #define InlineInfixToPostfix_h
3 
27 // parent class, has InfixOperator type
28 #include "InfixToPostfix.h"
29 
30 #include <QString>
31 #include <QStringList>
32 
33 namespace Isis {
52 
53  public:
55  virtual ~InlineInfixToPostfix();
56 
57  protected:
58  virtual bool isKnownSymbol(QString representation);
59  virtual InfixOperator *findOperator(QString element);
60 
61  private:
62  void initialize();
63  bool exists(const QString &str);
64  bool isScalar(const QString &scalar);
65  bool isVariable(const QString &str);
66 
67  QStringList m_variables;
68 
69  };
70 
71 } // Namespace Isis
72 
73 #endif
A parser for converting equation strings to postfix.
Definition: InlineInfixToPostfix.h:51
virtual InfixOperator * findOperator(QString element)
This method will first search the recognized list of operators and functions for the given token...
Definition: InlineInfixToPostfix.cpp:98
InfixOperator and InfixFunction are helper classes for InfixToPostfix.
Definition: InfixToPostfix.h:96
virtual ~InlineInfixToPostfix()
Destroys the InlineInfixToPostfix object.
Definition: InlineInfixToPostfix.cpp:49
virtual bool isKnownSymbol(QString representation)
This method attempts to verify that the given argument is recognized as a valid function, operator, scalar, or variable.
Definition: InlineInfixToPostfix.cpp:61
InlineInfixToPostfix()
Constructs an InlineInfixToPostfix object.
Definition: InlineInfixToPostfix.cpp:41
Converter for math equations.
Definition: InfixToPostfix.h:61
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31