|
PssMathParser
1.0.0
Parser of mathemathical expressions
|
Headers for the PssMathParser. More...
#include "pssmathparser_global.h"#include <math.h>#include <stdlib.h>#include <iostream>#include <stdint.h>#include <unordered_map>#include <vector>#include <string>#include <ctype.h>#include <algorithm>#include <iomanip>#include <sstream>Go to the source code of this file.
Classes | |
| class | PssMathParser::Entity |
| Base class for math expression entities. More... | |
| class | PssMathParser::Operator |
| Derived from Entity, used for storing pointers to math functions. More... | |
| class | PssMathParser::Argument |
| Derived from Entity, used for all that is not Operator. More... | |
| class | PssMathParser::Generator |
| Derived from Entity, used for intermediate steps of calcualtion. More... | |
| class | PssMathParser::MathParser |
| The export point of this library. More... | |
| class | PssMathParser::MathExpression |
| Main functionality of this library. More... | |
Namespaces | |
| PssMathParser | |
| Library for parsing math expression strings. | |
Enumerations | |
| enum | PssMathParser::EntityType { None, Operator, OperatorInDoubleOutDouble, OperatorInIntOutInt, OperatorInDoubleDoubleOutDouble, OperatorInDoubleIntOutDouble, Argument, ArgumentConstant, ArgumentUserConstant, ArgumentVariable, ArgumentGenerated, ArgumentGeneratedFromOneArg, ArgumentGeneratedFromTwoArg } |
| Enum defines all the types of functions for the operator. | |
| enum | PssMathParser::OperatorPrecedence { Function = 9, Multiplication = 6, Addition = 3 } |
| Enum defines precedence of operators. | |
Headers for the PssMathParser.
PssMathParser is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
PssMathParser is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with PssMathParser. If not, see http://www.gnu.org/licenses/.