37 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 0 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
38 m_iCode (
cmFUNC ), m_iType (
tpDBL ), m_bAllowOpti ( a_bAllowOpti )
46 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 1 ), m_iPri ( a_iPrec ), m_eOprtAsct (
oaNONE ),
47 m_iCode ( a_iCode ), m_iType (
tpDBL ), m_bAllowOpti ( a_bAllowOpti )
59 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 2 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
60 m_iCode (
cmFUNC ), m_iType (
tpDBL ), m_bAllowOpti ( a_bAllowOpti )
76 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 2 ), m_iPri ( a_iPrec ), m_eOprtAsct ( a_eOprtAsct ),
77 m_iCode (
cmOPRT_BIN ), m_iType (
tpDBL ), m_bAllowOpti ( a_bAllowOpti )
85 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 3 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
86 m_iCode (
cmFUNC ), m_iType (
tpDBL ), m_bAllowOpti ( a_bAllowOpti )
95 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 4 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
96 m_iCode (
cmFUNC ), m_iType (
tpDBL ), m_bAllowOpti ( a_bAllowOpti )
105 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 5 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
106 m_iCode (
cmFUNC ), m_iType (
tpDBL ), m_bAllowOpti ( a_bAllowOpti )
114 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 6 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
115 m_iCode (
cmFUNC ), m_iType (
tpDBL ), m_bAllowOpti ( a_bAllowOpti )
123 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 7 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
124 m_iCode (
cmFUNC ), m_iType (
tpDBL ), m_bAllowOpti ( a_bAllowOpti )
132 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 8 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
133 m_iCode (
cmFUNC ), m_iType (
tpDBL ), m_bAllowOpti ( a_bAllowOpti )
141 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 9 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
142 m_iCode (
cmFUNC ), m_iType (
tpDBL ), m_bAllowOpti ( a_bAllowOpti )
150 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 10 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
151 m_iCode (
cmFUNC ), m_iType (
tpDBL ), m_bAllowOpti ( a_bAllowOpti )
159 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 0 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
168 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 1 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
181 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 2 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
190 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 3 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
199 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 4 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
208 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 5 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
217 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 6 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
226 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 7 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
235 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 8 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
244 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 9 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
253 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 10 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
262 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( -1 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
263 m_iCode (
cmFUNC ), m_iType (
tpDBL ), m_bAllowOpti ( a_bAllowOpti )
271 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 0 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
272 m_iCode (
cmFUNC_STR ), m_iType (
tpSTR ), m_bAllowOpti ( a_bAllowOpti )
280 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 1 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
281 m_iCode (
cmFUNC_STR ), m_iType (
tpSTR ), m_bAllowOpti ( a_bAllowOpti )
289 : m_pFun ( reinterpret_cast<void*> ( a_pFun ) ), m_iArgc ( 2 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ),
290 m_iCode (
cmFUNC_STR ), m_iType (
tpSTR ), m_bAllowOpti ( a_bAllowOpti )
299 : m_pFun ( nullptr ), m_iArgc ( 0 ), m_iPri ( -1 ), m_eOprtAsct (
oaNONE ), m_iCode (
cmUNKNOWN ),
300 m_iType (
tpVOID ), m_bAllowOpti ( 0 )
309 : m_pFun ( a_Fun.m_pFun ), m_iArgc ( a_Fun.m_iArgc ), m_iPri ( a_Fun.m_iPri ), m_eOprtAsct ( a_Fun.m_eOprtAsct ),
310 m_iCode ( a_Fun.m_iCode ), m_iType ( a_Fun.m_iType ), m_bAllowOpti ( a_Fun.m_bAllowOpti )
Encapsulation of prototypes for a numerical parser function.
EOprtAssociativity m_eOprtAsct
Operator associativity; Valid only for binary operators.
int m_iPri
Valid only for binary and infix operators; Operator precedence.
QmuParserCallback()
Default constructor.
void * m_pFun
Pointer to the callback function, casted to void.
bool m_bAllowOpti
Flag indication optimizeability.
int m_iArgc
Number of numeric function arguments.
QmuParserCallback & operator=(const QmuParserCallback &a_Fun)
Namespace for mathematical applications.
qreal(* bulkfun_type10)(int, int, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal)
Callback type used for functions with five arguments.
qreal(* bulkfun_type4)(int, int, qreal, qreal, qreal, qreal)
Callback type used for functions with four arguments.
qreal(* fun_type7)(qreal, qreal, qreal, qreal, qreal, qreal, qreal)
Callback type used for functions with five arguments.
qreal(* fun_type10)(qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal)
Callback type used for functions with five arguments.
qreal(* fun_type3)(qreal, qreal, qreal)
Callback type used for functions with three arguments.
qreal(* fun_type8)(qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal)
Callback type used for functions with five arguments.
qreal(* bulkfun_type5)(int, int, qreal, qreal, qreal, qreal, qreal)
Callback type used for functions with five arguments.
@ cmUNKNOWN
uninitialized item
@ cmFUNC
Code for a generic function item.
@ cmFUNC_STR
Code for a function with a string parameter.
@ cmFUNC_BULK
Special callbacks for Bulk mode with an additional parameter for the bulk index.
@ cmOPRT_BIN
user defined binary operator
qreal(* fun_type6)(qreal, qreal, qreal, qreal, qreal, qreal)
Callback type used for functions with five arguments.
qreal(* fun_type4)(qreal, qreal, qreal, qreal)
Callback type used for functions with four arguments.
qreal(* fun_type9)(qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal)
Callback type used for functions with five arguments.
qreal(* bulkfun_type1)(int, int, qreal)
Callback type used for functions with a single arguments.
qreal(* fun_type2)(qreal, qreal)
Callback type used for functions with two arguments.
qreal(* bulkfun_type2)(int, int, qreal, qreal)
Callback type used for functions with two arguments.
qreal(* bulkfun_type0)(int, int)
Callback type used for functions without arguments.
qreal(* strfun_type3)(const QString &, qreal, qreal)
Callback type used for functions taking a string and two values as arguments.
EOprtAssociativity
Parser operator precedence values.
qreal(* fun_type1)(qreal)
Callback type used for functions with a single arguments.
qreal(* bulkfun_type7)(int, int, qreal, qreal, qreal, qreal, qreal, qreal, qreal)
Callback type used for functions with five arguments.
qreal(* multfun_type)(const qreal *, int)
Callback type used for functions with a variable argument list.
qreal(* strfun_type2)(const QString &, qreal)
Callback type used for functions taking a string and a value as arguments.
qreal(* fun_type0)()
Callback type used for functions without arguments.
qreal(* bulkfun_type6)(int, int, qreal, qreal, qreal, qreal, qreal, qreal)
Callback type used for functions with five arguments.
qreal(* bulkfun_type8)(int, int, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal)
Callback type used for functions with five arguments.
qreal(* bulkfun_type3)(int, int, qreal, qreal, qreal)
Callback type used for functions with three arguments.
qreal(* bulkfun_type9)(int, int, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal)
Callback type used for functions with five arguments.
@ tpDBL
Floating point variables.
@ tpSTR
String type (Function arguments and constants only, no string variables)
qreal(* fun_type5)(qreal, qreal, qreal, qreal, qreal)
Callback type used for functions with five arguments.
qreal(* strfun_type1)(const QString &)
Callback type used for functions taking a string as an argument.
Definition of the parser callback class.