37 :m_pFun((void*)a_pFun)
43 ,m_bAllowOpti(optimizeAway)
48 :m_pFun((void*)a_pFun)
54 ,m_bAllowOpti(optimizeAway)
63 :m_pFun((void*)a_pFun)
69 ,m_bAllowOpti(optimizeAway)
84 :m_pFun((void*)a_pFun)
87 ,m_eOprtAsct(a_eOprtAsct)
90 ,m_bAllowOpti(optimizeAway)
95 :m_pFun((void*)a_pFun)
101 ,m_bAllowOpti(optimizeAway)
107 :m_pFun((void*)a_pFun)
113 ,m_bAllowOpti(optimizeAway)
119 :m_pFun((void*)a_pFun)
125 ,m_bAllowOpti(optimizeAway)
130 :m_pFun((void*)a_pFun)
136 ,m_bAllowOpti(optimizeAway)
141 :m_pFun((void*)a_pFun)
147 ,m_bAllowOpti(optimizeAway)
152 :m_pFun((void*)a_pFun)
158 ,m_bAllowOpti(optimizeAway)
163 :m_pFun((void*)a_pFun)
169 ,m_bAllowOpti(optimizeAway)
174 :m_pFun((void*)a_pFun)
180 ,m_bAllowOpti(optimizeAway)
185 :m_pFun((void*)a_pFun)
191 ,m_bAllowOpti(optimizeAway)
196 :m_pFun((void*)a_pFun)
202 ,m_bAllowOpti(optimizeAway)
211 :m_pFun((void*)a_pFun)
217 ,m_bAllowOpti(optimizeAway)
222 :m_pFun((void*)a_pFun)
228 ,m_bAllowOpti(optimizeAway)
234 :m_pFun((void*)a_pFun)
240 ,m_bAllowOpti(optimizeAway)
246 :m_pFun((void*)a_pFun)
252 ,m_bAllowOpti(optimizeAway)
257 :m_pFun((void*)a_pFun)
263 ,m_bAllowOpti(optimizeAway)
268 :m_pFun((void*)a_pFun)
274 ,m_bAllowOpti(optimizeAway)
279 :m_pFun((void*)a_pFun)
285 ,m_bAllowOpti(optimizeAway)
290 :m_pFun((void*)a_pFun)
296 ,m_bAllowOpti(optimizeAway)
301 :m_pFun((void*)a_pFun)
307 ,m_bAllowOpti(optimizeAway)
313 :m_pFun((void*)a_pFun)
319 ,m_bAllowOpti(optimizeAway)
325 :m_pFun((void*)a_pFun)
331 ,m_bAllowOpti(optimizeAway)
337 :m_pFun((void*)a_pFun)
343 ,m_bAllowOpti(optimizeAway)
349 :m_pFun((void*)a_pFun)
355 ,m_bAllowOpti(optimizeAway)
Encapsulation of prototypes for a numerical parser function.
void * m_pFun
Pointer to the callback function, casted to void.
EOprtAssociativity GetAssociativity() const
Return the operators associativity.
ParserCallback * Clone() const
Clone this instance and return a pointer to the new instance.
ParserCallback()
Default constructor.
int m_iPri
Valid only for binary and infix operators; Operator precedence.
int GetArgc() const
Returns the number of function Arguments.
ETypeCode GetType() const
bool m_bAllowOpti
Flag indication optimizeability.
EOprtAssociativity m_eOprtAsct
Operator associativity; Valid only for binary operators.
int GetPri() const
Return the operator precedence.
int m_iArgc
Number of numeric function arguments.
bool IsOptimizable() const
Return tru if the function is conservative.
void * GetAddr() const
Get the callback address for the parser function.
ECmdCode GetCode() const
Return the callback code.
Definition of the parser callback class.
Namespace for mathematical applications.
value_type(* multfun_type)(const value_type *, int)
Callback type used for functions with a variable argument list.
value_type(* fun_type9)(const value_type &, const value_type &, const value_type &, const value_type &, const value_type &, const value_type &, const value_type &, const value_type &, const value_type &)
Callback type used for functions with five arguments.
value_type(* fun_type6)(const value_type &, const value_type &, const value_type &, const value_type &, const value_type &, const value_type &)
Callback type used for functions with five arguments.
value_type(* bulkfun_type6)(int, int, value_type, value_type, value_type, value_type, value_type, value_type)
Callback type used for functions with five arguments.
value_type(* strfun_type2)(const char_type *, value_type)
Callback type used for functions taking a string and a value as arguments.
value_type(* strfun_type3)(const char_type *, value_type, value_type)
Callback type used for functions taking a string and two values as arguments.
value_type(* bulkfun_type1)(int, int, value_type)
Callback type used for functions with a single arguments.
value_type(* bulkfun_type3)(int, int, value_type, value_type, value_type)
Callback type used for functions with three arguments.
value_type(* fun_type10)(const value_type &, const value_type &, const value_type &, const value_type &, const value_type &, const value_type &, const value_type &, const value_type &, const value_type &, const value_type &)
Callback type used for functions with five arguments.
value_type(* bulkfun_type9)(int, int, value_type, value_type, value_type, value_type, value_type, value_type, value_type, value_type, value_type)
Callback type used for functions with five arguments.
value_type(* strfun_type1)(const char_type *)
Callback type used for functions taking a string as an argument.
value_type(* bulkfun_type4)(int, int, value_type, value_type, value_type, value_type)
Callback type used for functions with four arguments.
value_type(* fun_type2)(const value_type &, const value_type &)
Callback type used for functions with two arguments.
value_type(* fun_type7)(const value_type &, const value_type &, const value_type &, const value_type &, const value_type &, const value_type &, const value_type &)
Callback type used for functions with five arguments.
value_type(* bulkfun_type5)(int, int, value_type, value_type, value_type, value_type, value_type)
Callback type used for functions with five arguments.
value_type(* fun_type5)(const value_type &, const value_type &, const value_type &, const value_type &, const value_type &)
Callback type used for functions with five arguments.
value_type(* bulkfun_type7)(int, int, value_type, value_type, value_type, value_type, value_type, value_type, value_type)
Callback type used for functions with five arguments.
value_type(* bulkfun_type2)(int, int, value_type, value_type)
Callback type used for functions with two arguments.
value_type(* bulkfun_type8)(int, int, value_type, value_type, value_type, value_type, value_type, value_type, value_type, value_type)
Callback type used for functions with five arguments.
value_type(* fun_type1)(const value_type &)
Callback type used for functions with a single arguments.
@ cmFUNC_BULK
Special callbacks for Bulk mode with an additional parameter for the bulk index.
@ cmOPRT_BIN
user defined binary operator
@ cmUNKNOWN
uninitialized item
@ cmFUNC_STR
Code for a function with a string parameter.
@ cmFUNC
Code for a generic function item.
ETypeCode
Types internally used by the parser.
@ tpDBL
Floating point variables.
@ tpSTR
String type (Function arguments and constants only, no string variables)
value_type(* fun_type8)(const value_type &, const value_type &, const value_type &, const value_type &, const value_type &, const value_type &, const value_type &, const value_type &)
Callback type used for functions with five arguments.
value_type(* bulkfun_type10)(int, int, value_type, value_type, value_type, value_type, value_type, value_type, value_type, value_type, value_type, value_type)
Callback type used for functions with five arguments.
value_type(* fun_type4)(const value_type &, const value_type &, const value_type &, const value_type &)
Callback type used for functions with four arguments.
value_type(* fun_type0)()
Callback type used for functions without arguments.
value_type(* fun_type3)(const value_type &, const value_type &, const value_type &)
Callback type used for functions with three arguments.
EOprtAssociativity
Parser operator precedence values.
value_type(* bulkfun_type0)(int, int)
Callback type used for functions without arguments.