5 #ifndef BALL_MATHS_PARSEDFUNCTION_H
6 #define BALL_MATHS_PARSEDFUNCTION_H
8 #ifndef BALL_DATATYPE_STRINGHASHMAP_H
14 using std::unary_function;
36 template <
typename arg>
38 :
public unary_function<arg, double>
88 template <
typename arg>
97 template <
typename arg>
101 expression_(expression)
106 template <
typename arg>
115 template <
typename arg>
120 template <
typename arg>
123 constants_[
"X"] = (
double*)&argument;
139 template <
typename arg>
157 #endif // BALL_MATHS_PARSEDFUNCTION_H
StringHashMap< double(*)(double)> functions_
~ParsedFunction()
Destructor.
StringHashMap< double * > constants_
double ParsedFunctionResult
StringHashMap< double(*)(double)> * ParsedFunctionFunctions
ParsedFunction()
Default constructor.
int ParsedFunctionparse()
void ParsedFunction_initBuffer(const char *)
StringHashMap< double * > * ParsedFunctionConstants
void ParsedFunction_delBuffer()