Isis 3 Programmer Reference
CubeInfixToPostfix.h
1
6/* SPDX-License-Identifier: CC0-1.0 */
7
8#ifndef CUBEINFIXTOPOSTFIX_H_
9#define CUBEINFIXTOPOSTFIX_H_
10
11#include "InfixToPostfix.h"
12#include <stack>
13#include <iostream>
14#include <QVector>
15
16namespace Isis {
17
38 public:
41
42 protected:
43 bool isKnownSymbol(QString representation);
44 InfixOperator *findOperator(QString representation);
45
46 private:
47 void initialize();
48 };
49};
50
51#endif
Converter for math equations.
CubeInfixToPostfix()
Constructs a CubeInfixToPostfix converter.
bool isKnownSymbol(QString representation)
This method will return true if it believes the argument represents a valid function or operator.
InfixOperator * findOperator(QString representation)
This method will return a pointer to the operator represented by 'representation.
void initialize()
This method is used to create functions that are specific to cubes.
InfixOperator and InfixFunction are helper classes for InfixToPostfix.
Converter for math equations.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16