This file contains standard definitions used by the parser. More...
Go to the source code of this file.
Namespaces | |
qmu | |
Namespace for mathematical applications. | |
Macros | |
#define | QMUP_VERSION "2.5.0" |
#define | QMUP_VERSION_DATE "20170101; GC" |
#define | QMUP_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" |
#define | QMUP_NOEXCEPT_EXPR(x) |
#define | __has_cpp_attribute(x) 0 |
#define | QMUP_FALLTHROUGH |
#define | QMUP_STRING_TYPE std::wstring |
If this macro is defined mathematical exceptions (div by zero) will be thrown as exceptions. More... | |
Typedefs | |
typedef std::wstring | qmu::string_type |
The stringtype used by the parser. More... | |
typedef string_type::value_type | qmu::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 > > | qmu::stringstream_type |
Typedef for easily using stringstream that respect the parser stringtype. More... | |
typedef std::map< QString, qreal * > | qmu::varmap_type |
Type used for storing variables. More... | |
typedef std::map< QString, qreal > | qmu::valmap_type |
Type used for storing constants. More... | |
typedef std::map< QString, int > | qmu::strmap_type |
Type for assigning a string name to an index in the internal string table. More... | |
typedef qreal(* | qmu::generic_fun_type) () |
Callback type used for functions without arguments. More... | |
typedef qreal(* | qmu::fun_type0) () |
Callback type used for functions without arguments. More... | |
typedef qreal(* | qmu::fun_type1) (qreal) |
Callback type used for functions with a single arguments. More... | |
typedef qreal(* | qmu::fun_type2) (qreal, qreal) |
Callback type used for functions with two arguments. More... | |
typedef qreal(* | qmu::fun_type3) (qreal, qreal, qreal) |
Callback type used for functions with three arguments. More... | |
typedef qreal(* | qmu::fun_type4) (qreal, qreal, qreal, qreal) |
Callback type used for functions with four arguments. More... | |
typedef qreal(* | qmu::fun_type5) (qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments. More... | |
typedef qreal(* | qmu::fun_type6) (qreal, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments. More... | |
typedef qreal(* | qmu::fun_type7) (qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments. More... | |
typedef qreal(* | qmu::fun_type8) (qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments. More... | |
typedef qreal(* | qmu::fun_type9) (qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments. More... | |
typedef qreal(* | qmu::fun_type10) (qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments. More... | |
typedef qreal(* | qmu::bulkfun_type0) (int, int) |
Callback type used for functions without arguments. More... | |
typedef qreal(* | qmu::bulkfun_type1) (int, int, qreal) |
Callback type used for functions with a single arguments. More... | |
typedef qreal(* | qmu::bulkfun_type2) (int, int, qreal, qreal) |
Callback type used for functions with two arguments. More... | |
typedef qreal(* | qmu::bulkfun_type3) (int, int, qreal, qreal, qreal) |
Callback type used for functions with three arguments. More... | |
typedef qreal(* | qmu::bulkfun_type4) (int, int, qreal, qreal, qreal, qreal) |
Callback type used for functions with four arguments. More... | |
typedef qreal(* | qmu::bulkfun_type5) (int, int, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments. More... | |
typedef qreal(* | qmu::bulkfun_type6) (int, int, qreal, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments. More... | |
typedef qreal(* | qmu::bulkfun_type7) (int, int, qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments. More... | |
typedef qreal(* | qmu::bulkfun_type8) (int, int, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments. More... | |
typedef qreal(* | qmu::bulkfun_type9) (int, int, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal) |
Callback type used for functions with five arguments. More... | |
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. More... | |
typedef qreal(* | qmu::multfun_type) (const qreal *, int) |
Callback type used for functions with a variable argument list. More... | |
typedef qreal(* | qmu::strfun_type1) (const QString &) |
Callback type used for functions taking a string as an argument. More... | |
typedef qreal(* | qmu::strfun_type2) (const QString &, qreal) |
Callback type used for functions taking a string and a value as arguments. More... | |
typedef qreal(* | qmu::strfun_type3) (const QString &, qreal, qreal) |
Callback type used for functions taking a string and two values as arguments. More... | |
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. More... | |
typedef qreal *(* | qmu::facfun_type) (const QString &, void *) |
Callback used for variable creation factory functions. More... | |
This file contains standard definitions used by the parser.
Definition in file qmuparserdef.h.
#define __has_cpp_attribute | ( | x | ) | 0 |
Definition at line 56 of file qmuparserdef.h.
#define QMUP_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" |
Definition at line 38 of file qmuparserdef.h.
#define QMUP_FALLTHROUGH |
Definition at line 74 of file qmuparserdef.h.
#define QMUP_NOEXCEPT_EXPR | ( | x | ) |
Definition at line 52 of file qmuparserdef.h.
#define QMUP_STRING_TYPE std::wstring |
If this macro is defined mathematical exceptions (div by zero) will be thrown as exceptions.
Activate this option in order to compile with OpenMP support.
OpenMP is used only in the bulk mode it may increase the performance a bit.
Definition of the basic parser string type.
Definition at line 87 of file qmuparserdef.h.
#define QMUP_VERSION "2.5.0" |
Definition at line 35 of file qmuparserdef.h.
#define QMUP_VERSION_DATE "20170101; GC" |
Definition at line 36 of file qmuparserdef.h.