bool isVariable(const QString &str)
Determines whether the given token is a variable and, if so, appends it to the list of variables.
InlineInfixToPostfix()
Constructs an InlineInfixToPostfix object.
virtual InfixOperator * findOperator(QString representation)
This method will return a pointer to the operator represented by 'representation.
QStringList m_variables
The list of variables (represented as strings).
bool exists(const QString &str)
Determines whether the given string exists as a recognized variable.
virtual ~InlineInfixToPostfix()
Destroys the InlineInfixToPostfix object.
virtual bool isKnownSymbol(QString representation)
This method attempts to verify that the given argument is recognized as a valid function,...
void initialize()
Adds several infix operators and functions to the operator list that are not already recognized by th...
Converter for math equations.
bool isScalar(const QString &scalar)
Determines whether the given token represents a scalar value (i.e.
virtual bool isKnownSymbol(QString representation)
This method will return true if it believes the argument represents a valid function or operator.
virtual InfixOperator * findOperator(QString element)
This method will first search the recognized list of operators and functions for the given token.