wxArt2D
|
expression(s) evaluation based on a string. More...
#include <eval.h>
Public Attributes | |
a2dFunctionList | m_functions |
a2dVariableList | m_vars |
a2dVariableList | m_const |
Protected Member Functions | |
int | Level1 (TYPENUMBER *r) |
void | Level2 (TYPENUMBER *r) |
void | Level3 (TYPENUMBER *r) |
void | Level4 (TYPENUMBER *r) |
void | Level5 (TYPENUMBER *r) |
void | Level6 (TYPENUMBER *r) |
expression(s) evaluation based on a string.
The a2dEval module provides a class that allows you to incorporate mathematical expression evaluation into your programs, that can be changed at run time. For example, using the class you can evaluate such expressions as:
1+1 10 * (x=5) <== Assigns 5 to X first! ((1/3) * sin(45))^2 X=50 Y=100 z=hypot(x,y)
You can extend Constants and Functions that can be used.