|
PssMathParser
1.0.0
Parser of mathemathical expressions
|
The export point of this library. More...
#include <pssmathparser.h>
Public Member Functions | |
| virtual | ~MathParser ()=0 |
| Virtual destructor because this class is pure virtual. | |
| virtual const string | expression () const =0 |
| virtual void | setExpression (const string &a_expression)=0 |
| virtual void | setMath (const string &a_expression)=0 |
| virtual const string | reversePolish () const =0 |
| virtual bool | setArgumentMap (const string &a_reversePolish)=0 |
| virtual bool | setArgumentMap ()=0 |
| virtual bool | expressionToReversePolish ()=0 |
| virtual const string | mathToString () const =0 |
| virtual const string | mathToStringFull () const =0 |
| virtual void | setVariableDouble (const string &a_name, const double a_value)=0 |
| virtual bool | expandMathExpression ()=0 |
| virtual double | calculateExpression ()=0 |
| virtual void | setMathPrintPrecision (const uint16_t &mathPrintPrecision)=0 |
| virtual uint16_t | getMathPrintPrecision () const =0 |
| virtual uint16_t | getVariableSize () const =0 |
| virtual void | clear ()=0 |
Static Public Member Functions | |
| static MathParser * | makeMathParser () |
| Factory constructor. More... | |
The export point of this library.
Class is used to be implemented by other class internal to the mathparser lib. Only this class has the export point to be used in other programs.
|
static |
Factory constructor.
We use the factory method to construct an object inside this library. The exit point is the MathParser class. All functions that are meant to be used are given in MathParser and later overloaded by this library classes.