Namespace for mathematical applications. More...
Namespaces | |
| Test | |
| Namespace for test cases. | |
Classes | |
| class | QmuFormulaBase |
| class | QmuParser |
| Mathematical expressions parser. More... | |
| class | QmuParserBase |
| Mathematical expressions parser (base parser engine). More... | |
| struct | SToken |
| class | QmuParserByteCode |
| Bytecode implementation of the Math Parser. More... | |
| class | QmuParserCallback |
| Encapsulation of prototypes for a numerical parser function. More... | |
| class | QmuParserErrorMsg |
| A class that handles the error messages. More... | |
| class | QmuParserError |
| Error class of the parser. More... | |
| class | QmuParserToken |
| Encapsulation of the data for a single formula token. More... | |
| class | QmuParserTokenReader |
| Token reader for the ParserBase class. More... | |
| class | QmuTokenParser |
| class | QmuTranslation |
Typedefs | |
| typedef std::map< QString, QmuParserCallback > | funmap_type |
| Container for Callback objects. More... | |
| typedef std::wstring | string_type |
| The stringtype used by the parser. More... | |
| typedef string_type::value_type | char_type |
| The character type used by the parser. More... | |
| typedef std::basic_stringstream< char_type, std::char_traits< char_type >, std::allocator< char_type > > | stringstream_type |
| Typedef for easily using stringstream that respect the parser stringtype. More... | |
| typedef std::map< QString, qreal * > | varmap_type |
| Type used for storing variables. More... | |
| typedef std::map< QString, qreal > | valmap_type |
| Type used for storing constants. More... | |
| typedef std::map< QString, int > | strmap_type |
| Type for assigning a string name to an index in the internal string table. More... | |
| typedef qreal(* | generic_fun_type) () |
| Callback type used for functions without arguments. More... | |
| typedef qreal(* | fun_type0) () |
| Callback type used for functions without arguments. More... | |
| typedef qreal(* | fun_type1) (qreal) |
| Callback type used for functions with a single arguments. More... | |
| typedef qreal(* | fun_type2) (qreal, qreal) |
| Callback type used for functions with two arguments. More... | |
| typedef qreal(* | fun_type3) (qreal, qreal, qreal) |
| Callback type used for functions with three arguments. More... | |
| typedef qreal(* | fun_type4) (qreal, qreal, qreal, qreal) |
| Callback type used for functions with four arguments. More... | |
| typedef qreal(* | fun_type5) (qreal, qreal, qreal, qreal, qreal) |
| Callback type used for functions with five arguments. More... | |
| typedef qreal(* | fun_type6) (qreal, qreal, qreal, qreal, qreal, qreal) |
| Callback type used for functions with five arguments. More... | |
| typedef qreal(* | fun_type7) (qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
| Callback type used for functions with five arguments. More... | |
| typedef qreal(* | fun_type8) (qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
| Callback type used for functions with five arguments. More... | |
| typedef qreal(* | fun_type9) (qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
| Callback type used for functions with five arguments. More... | |
| typedef qreal(* | fun_type10) (qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
| Callback type used for functions with five arguments. More... | |
| typedef qreal(* | bulkfun_type0) (int, int) |
| Callback type used for functions without arguments. More... | |
| typedef qreal(* | bulkfun_type1) (int, int, qreal) |
| Callback type used for functions with a single arguments. More... | |
| typedef qreal(* | bulkfun_type2) (int, int, qreal, qreal) |
| Callback type used for functions with two arguments. More... | |
| typedef qreal(* | bulkfun_type3) (int, int, qreal, qreal, qreal) |
| Callback type used for functions with three arguments. More... | |
| typedef qreal(* | bulkfun_type4) (int, int, qreal, qreal, qreal, qreal) |
| Callback type used for functions with four arguments. More... | |
| typedef qreal(* | bulkfun_type5) (int, int, qreal, qreal, qreal, qreal, qreal) |
| Callback type used for functions with five arguments. More... | |
| typedef qreal(* | bulkfun_type6) (int, int, qreal, qreal, qreal, qreal, qreal, qreal) |
| Callback type used for functions with five arguments. More... | |
| typedef qreal(* | bulkfun_type7) (int, int, qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
| Callback type used for functions with five arguments. More... | |
| typedef qreal(* | bulkfun_type8) (int, int, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
| Callback type used for functions with five arguments. More... | |
| typedef qreal(* | bulkfun_type9) (int, int, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
| Callback type used for functions with five arguments. More... | |
| typedef qreal(* | bulkfun_type10) (int, int, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
| Callback type used for functions with five arguments. More... | |
| typedef qreal(* | multfun_type) (const qreal *, int) |
| Callback type used for functions with a variable argument list. More... | |
| typedef qreal(* | strfun_type1) (const QString &) |
| Callback type used for functions taking a string as an argument. More... | |
| typedef qreal(* | strfun_type2) (const QString &, qreal) |
| Callback type used for functions taking a string and a value as arguments. More... | |
| typedef qreal(* | strfun_type3) (const QString &, qreal, qreal) |
| Callback type used for functions taking a string and two values as arguments. More... | |
| typedef int(* | identfun_type) (const QString &sExpr, int *nPos, qreal *fVal, const QLocale &locale, const QChar &decimal, const QChar &thousand) |
| Callback used for functions that identify values in a string. More... | |
| typedef qreal *(* | facfun_type) (const QString &, void *) |
| Callback used for variable creation factory functions. More... | |
Namespace for mathematical applications.
| typedef qreal( * qmu::bulkfun_type0) (int, int) |
Callback type used for functions without arguments.
Definition at line 257 of file qmuparserdef.h.
| typedef qreal( * qmu::bulkfun_type1) (int, int, qreal) |
Callback type used for functions with a single arguments.
Definition at line 260 of file qmuparserdef.h.
| typedef qreal( * qmu::bulkfun_type10) (int, int, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments.
Definition at line 287 of file qmuparserdef.h.
| typedef qreal( * qmu::bulkfun_type2) (int, int, qreal, qreal) |
Callback type used for functions with two arguments.
Definition at line 263 of file qmuparserdef.h.
| typedef qreal( * qmu::bulkfun_type3) (int, int, qreal, qreal, qreal) |
Callback type used for functions with three arguments.
Definition at line 266 of file qmuparserdef.h.
| typedef qreal( * qmu::bulkfun_type4) (int, int, qreal, qreal, qreal, qreal) |
Callback type used for functions with four arguments.
Definition at line 269 of file qmuparserdef.h.
| typedef qreal( * qmu::bulkfun_type5) (int, int, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments.
Definition at line 272 of file qmuparserdef.h.
| typedef qreal( * qmu::bulkfun_type6) (int, int, qreal, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments.
Definition at line 275 of file qmuparserdef.h.
| typedef qreal( * qmu::bulkfun_type7) (int, int, qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments.
Definition at line 278 of file qmuparserdef.h.
| typedef qreal( * qmu::bulkfun_type8) (int, int, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments.
Definition at line 281 of file qmuparserdef.h.
| typedef qreal( * qmu::bulkfun_type9) (int, int, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments.
Definition at line 284 of file qmuparserdef.h.
| typedef string_type::value_type qmu::char_type |
The character type used by the parser.
Depends on wether UNICODE is used or not.
Definition at line 202 of file qmuparserdef.h.
| typedef qreal*( * qmu::facfun_type) (const QString &, void *) |
Callback used for variable creation factory functions.
Definition at line 306 of file qmuparserdef.h.
| typedef qreal( * qmu::fun_type0) () |
Callback type used for functions without arguments.
Definition at line 224 of file qmuparserdef.h.
| typedef qreal( * qmu::fun_type1) (qreal) |
Callback type used for functions with a single arguments.
Definition at line 227 of file qmuparserdef.h.
| typedef qreal( * qmu::fun_type10) (qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments.
Definition at line 254 of file qmuparserdef.h.
| typedef qreal( * qmu::fun_type2) (qreal, qreal) |
Callback type used for functions with two arguments.
Definition at line 230 of file qmuparserdef.h.
| typedef qreal( * qmu::fun_type3) (qreal, qreal, qreal) |
Callback type used for functions with three arguments.
Definition at line 233 of file qmuparserdef.h.
| typedef qreal( * qmu::fun_type4) (qreal, qreal, qreal, qreal) |
Callback type used for functions with four arguments.
Definition at line 236 of file qmuparserdef.h.
| typedef qreal( * qmu::fun_type5) (qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments.
Definition at line 239 of file qmuparserdef.h.
| typedef qreal( * qmu::fun_type6) (qreal, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments.
Definition at line 242 of file qmuparserdef.h.
| typedef qreal( * qmu::fun_type7) (qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments.
Definition at line 245 of file qmuparserdef.h.
| typedef qreal( * qmu::fun_type8) (qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments.
Definition at line 248 of file qmuparserdef.h.
| typedef qreal( * qmu::fun_type9) (qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments.
Definition at line 251 of file qmuparserdef.h.
| typedef std::map<QString, QmuParserCallback> qmu::funmap_type |
Container for Callback objects.
Definition at line 115 of file qmuparsercallback.h.
| typedef qreal( * qmu::generic_fun_type) () |
Callback type used for functions without arguments.
Definition at line 221 of file qmuparserdef.h.
| typedef int( * qmu::identfun_type) (const QString &sExpr, int *nPos, qreal *fVal, const QLocale &locale, const QChar &decimal, const QChar &thousand) |
Callback used for functions that identify values in a string.
Definition at line 302 of file qmuparserdef.h.
| typedef qreal( * qmu::multfun_type) (const qreal *, int) |
Callback type used for functions with a variable argument list.
Definition at line 290 of file qmuparserdef.h.
| typedef qreal( * qmu::strfun_type1) (const QString &) |
Callback type used for functions taking a string as an argument.
Definition at line 293 of file qmuparserdef.h.
| typedef qreal( * qmu::strfun_type2) (const QString &, qreal) |
Callback type used for functions taking a string and a value as arguments.
Definition at line 296 of file qmuparserdef.h.
| typedef qreal( * qmu::strfun_type3) (const QString &, qreal, qreal) |
Callback type used for functions taking a string and two values as arguments.
Definition at line 299 of file qmuparserdef.h.
| typedef std::wstring qmu::string_type |
The stringtype used by the parser.
Depends on wether UNICODE is used or not.
Definition at line 196 of file qmuparserdef.h.
| typedef std::basic_stringstream< char_type, std::char_traits<char_type>, std::allocator<char_type> > qmu::stringstream_type |
Typedef for easily using stringstream that respect the parser stringtype.
Definition at line 205 of file qmuparserdef.h.
| typedef std::map<QString, int> qmu::strmap_type |
Type for assigning a string name to an index in the internal string table.
Definition at line 216 of file qmuparserdef.h.
| typedef std::map<QString, qreal> qmu::valmap_type |
Type used for storing constants.
Definition at line 213 of file qmuparserdef.h.
| typedef std::map<QString, qreal*> qmu::varmap_type |
Type used for storing variables.
Definition at line 210 of file qmuparserdef.h.
| enum qmu::ECmdCode |
Bytecode values.
Definition at line 98 of file qmuparserdef.h.
| enum qmu::EErrorCodes |
Error codes.
Definition at line 45 of file qmuparsererror.h.
Parser operator precedence values.
| Enumerator | |
|---|---|
| oaLEFT | |
| oaRIGHT | |
| oaNONE | |
Definition at line 164 of file qmuparserdef.h.
| enum qmu::EOprtPrecedence |
Parser operator precedence values.
Definition at line 173 of file qmuparserdef.h.
| Enumerator | |
|---|---|
| pviBRIEF | |
| pviFULL | |
Definition at line 156 of file qmuparserdef.h.
| enum qmu::ETypeCode |
Types internally used by the parser.
| Enumerator | |
|---|---|
| tpSTR | String type (Function arguments and constants only, no string variables) |
| tpDBL | Floating point variables. |
| tpVOID | Undefined type. |
Definition at line 148 of file qmuparserdef.h.