OpcUaCanOpen
CANopen OPC-UA server
|
Namespace for mathematical applications. More...
Namespaces | |
Test | |
Namespace for test cases. | |
Classes | |
struct | MathImpl |
A template class for providing wrappers for essential math functions. More... | |
class | Parser |
Mathematical expressions parser. More... | |
class | ParserBase |
Mathematical expressions parser (base parser engine). More... | |
class | ParserByteCode |
Bytecode implementation of the Math Parser. More... | |
class | ParserCallback |
Encapsulation of prototypes for a numerical parser function. More... | |
class | ParserError |
Error class of the parser. More... | |
class | ParserErrorMsg |
A class that handles the error messages. More... | |
class | ParserInt |
Mathematical expressions parser. More... | |
class | ParserStack |
Parser stack implementation. More... | |
class | ParserToken |
Encapsulation of the data for a single formula token. More... | |
class | ParserTokenReader |
Token reader for the ParserBase class. More... | |
struct | SToken |
struct | TypeInfo |
A class singling out integer types at compile time using template meta programming. More... | |
struct | TypeInfo< char > |
struct | TypeInfo< int > |
struct | TypeInfo< long > |
struct | TypeInfo< short > |
struct | TypeInfo< unsigned char > |
struct | TypeInfo< unsigned int > |
struct | TypeInfo< unsigned long > |
struct | TypeInfo< unsigned short > |
Typedefs | |
typedef std::map< string_type, ParserCallback > | funmap_type |
Container for Callback objects. More... | |
typedef MUP_BASETYPE | value_type |
The numeric datatype used by the parser. More... | |
typedef MUP_STRING_TYPE | 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< string_type, value_type * > | varmap_type |
Type used for storing variables. More... | |
typedef std::map< string_type, value_type > | valmap_type |
Type used for storing constants. More... | |
typedef std::map< string_type, std::size_t > | strmap_type |
Type for assigning a string name to an index in the internal string table. More... | |
typedef value_type(* | generic_fun_type) () |
Callback type used for functions without arguments. More... | |
typedef value_type(* | fun_type0) () |
Callback type used for functions without arguments. More... | |
typedef value_type(* | fun_type1) (value_type) |
Callback type used for functions with a single arguments. More... | |
typedef value_type(* | fun_type2) (value_type, value_type) |
Callback type used for functions with two arguments. More... | |
typedef value_type(* | fun_type3) (value_type, value_type, value_type) |
Callback type used for functions with three arguments. More... | |
typedef value_type(* | fun_type4) (value_type, value_type, value_type, value_type) |
Callback type used for functions with four arguments. More... | |
typedef value_type(* | fun_type5) (value_type, value_type, value_type, value_type, value_type) |
Callback type used for functions with five arguments. More... | |
typedef value_type(* | fun_type6) (value_type, value_type, value_type, value_type, value_type, value_type) |
Callback type used for functions with six arguments. More... | |
typedef value_type(* | fun_type7) (value_type, value_type, value_type, value_type, value_type, value_type, value_type) |
Callback type used for functions with seven arguments. More... | |
typedef value_type(* | fun_type8) (value_type, value_type, value_type, value_type, value_type, value_type, value_type, value_type) |
Callback type used for functions with eight arguments. More... | |
typedef value_type(* | fun_type9) (value_type, value_type, value_type, value_type, value_type, value_type, value_type, value_type, value_type) |
Callback type used for functions with nine arguments. More... | |
typedef value_type(* | fun_type10) (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 ten arguments. More... | |
typedef value_type(* | bulkfun_type0) (int, int) |
Callback type used for functions without arguments. More... | |
typedef value_type(* | bulkfun_type1) (int, int, value_type) |
Callback type used for functions with a single arguments. More... | |
typedef value_type(* | bulkfun_type2) (int, int, value_type, value_type) |
Callback type used for functions with two arguments. More... | |
typedef value_type(* | bulkfun_type3) (int, int, value_type, value_type, value_type) |
Callback type used for functions with three arguments. More... | |
typedef value_type(* | bulkfun_type4) (int, int, value_type, value_type, value_type, value_type) |
Callback type used for functions with four arguments. More... | |
typedef value_type(* | bulkfun_type5) (int, int, value_type, value_type, value_type, value_type, value_type) |
Callback type used for functions with five arguments. More... | |
typedef value_type(* | bulkfun_type6) (int, int, value_type, value_type, value_type, value_type, value_type, value_type) |
Callback type used for functions with six arguments. More... | |
typedef 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 seven arguments. More... | |
typedef 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 eight arguments. More... | |
typedef 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 nine arguments. More... | |
typedef 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 ten arguments. More... | |
typedef value_type(* | multfun_type) (const value_type *, int) |
Callback type used for functions with a variable argument list. More... | |
typedef value_type(* | strfun_type1) (const char_type *) |
Callback type used for functions taking a string as an argument. More... | |
typedef value_type(* | strfun_type2) (const char_type *, value_type) |
Callback type used for functions taking a string and a value as arguments. More... | |
typedef value_type(* | strfun_type3) (const char_type *, value_type, value_type) |
Callback type used for functions taking a string and two values as arguments. More... | |
typedef int(* | identfun_type) (const char_type *sExpr, int *nPos, value_type *fVal) |
Callback used for functions that identify values in a string. More... | |
typedef value_type *(* | facfun_type) (const char_type *, void *) |
Callback used for variable creation factory functions. More... | |
Functions | |
std::ostream & | console () |
Encapsulate cout. More... | |
std::istream & | console_in () |
Encapsulate cin. More... | |
Namespace for mathematical applications.
typedef value_type(* mu::bulkfun_type0) (int, int) |
Callback type used for functions without arguments.
Definition at line 316 of file muParserDef.h.
typedef value_type(* mu::bulkfun_type1) (int, int, value_type) |
Callback type used for functions with a single arguments.
Definition at line 319 of file muParserDef.h.
typedef value_type(* mu::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 ten arguments.
Definition at line 346 of file muParserDef.h.
typedef value_type(* mu::bulkfun_type2) (int, int, value_type, value_type) |
Callback type used for functions with two arguments.
Definition at line 322 of file muParserDef.h.
typedef value_type(* mu::bulkfun_type3) (int, int, value_type, value_type, value_type) |
Callback type used for functions with three arguments.
Definition at line 325 of file muParserDef.h.
typedef value_type(* mu::bulkfun_type4) (int, int, value_type, value_type, value_type, value_type) |
Callback type used for functions with four arguments.
Definition at line 328 of file muParserDef.h.
typedef value_type(* mu::bulkfun_type5) (int, int, value_type, value_type, value_type, value_type, value_type) |
Callback type used for functions with five arguments.
Definition at line 331 of file muParserDef.h.
typedef value_type(* mu::bulkfun_type6) (int, int, value_type, value_type, value_type, value_type, value_type, value_type) |
Callback type used for functions with six arguments.
Definition at line 334 of file muParserDef.h.
typedef value_type(* mu::bulkfun_type7) (int, int, value_type, value_type, value_type, value_type, value_type, value_type, value_type) |
Callback type used for functions with seven arguments.
Definition at line 337 of file muParserDef.h.
typedef value_type(* mu::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 eight arguments.
Definition at line 340 of file muParserDef.h.
typedef value_type(* mu::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 nine arguments.
Definition at line 343 of file muParserDef.h.
typedef string_type::value_type mu::char_type |
The character type used by the parser.
Depends on whether UNICODE is used or not.
Definition at line 259 of file muParserDef.h.
typedef value_type*(* mu::facfun_type) (const char_type *, void *) |
Callback used for variable creation factory functions.
Definition at line 364 of file muParserDef.h.
typedef value_type(* mu::fun_type0) () |
Callback type used for functions without arguments.
Definition at line 283 of file muParserDef.h.
typedef value_type(* mu::fun_type1) (value_type) |
Callback type used for functions with a single arguments.
Definition at line 286 of file muParserDef.h.
typedef value_type(* mu::fun_type10) (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 ten arguments.
Definition at line 313 of file muParserDef.h.
typedef value_type(* mu::fun_type2) (value_type, value_type) |
Callback type used for functions with two arguments.
Definition at line 289 of file muParserDef.h.
typedef value_type(* mu::fun_type3) (value_type, value_type, value_type) |
Callback type used for functions with three arguments.
Definition at line 292 of file muParserDef.h.
typedef value_type(* mu::fun_type4) (value_type, value_type, value_type, value_type) |
Callback type used for functions with four arguments.
Definition at line 295 of file muParserDef.h.
typedef value_type(* mu::fun_type5) (value_type, value_type, value_type, value_type, value_type) |
Callback type used for functions with five arguments.
Definition at line 298 of file muParserDef.h.
typedef value_type(* mu::fun_type6) (value_type, value_type, value_type, value_type, value_type, value_type) |
Callback type used for functions with six arguments.
Definition at line 301 of file muParserDef.h.
typedef value_type(* mu::fun_type7) (value_type, value_type, value_type, value_type, value_type, value_type, value_type) |
Callback type used for functions with seven arguments.
Definition at line 304 of file muParserDef.h.
typedef value_type(* mu::fun_type8) (value_type, value_type, value_type, value_type, value_type, value_type, value_type, value_type) |
Callback type used for functions with eight arguments.
Definition at line 307 of file muParserDef.h.
typedef value_type(* mu::fun_type9) (value_type, value_type, value_type, value_type, value_type, value_type, value_type, value_type, value_type) |
Callback type used for functions with nine arguments.
Definition at line 310 of file muParserDef.h.
typedef std::map<string_type, ParserCallback> mu::funmap_type |
Container for Callback objects.
Definition at line 113 of file muParserCallback.h.
typedef value_type(* mu::generic_fun_type) () |
Callback type used for functions without arguments.
Definition at line 280 of file muParserDef.h.
typedef int(* mu::identfun_type) (const char_type *sExpr, int *nPos, value_type *fVal) |
Callback used for functions that identify values in a string.
Definition at line 361 of file muParserDef.h.
typedef value_type(* mu::multfun_type) (const value_type *, int) |
Callback type used for functions with a variable argument list.
Definition at line 349 of file muParserDef.h.
typedef value_type(* mu::strfun_type1) (const char_type *) |
Callback type used for functions taking a string as an argument.
Definition at line 352 of file muParserDef.h.
typedef value_type(* mu::strfun_type2) (const char_type *, value_type) |
Callback type used for functions taking a string and a value as arguments.
Definition at line 355 of file muParserDef.h.
typedef value_type(* mu::strfun_type3) (const char_type *, value_type, value_type) |
Callback type used for functions taking a string and two values as arguments.
Definition at line 358 of file muParserDef.h.
typedef MUP_STRING_TYPE mu::string_type |
The stringtype used by the parser.
Depends on whether UNICODE is used or not.
Definition at line 253 of file muParserDef.h.
typedef std::basic_stringstream<char_type, std::char_traits<char_type>, std::allocator<char_type> > mu::stringstream_type |
Typedef for easily using stringstream that respect the parser stringtype.
Definition at line 264 of file muParserDef.h.
typedef std::map<string_type, std::size_t> mu::strmap_type |
Type for assigning a string name to an index in the internal string table.
Definition at line 275 of file muParserDef.h.
typedef std::map<string_type, value_type> mu::valmap_type |
Type used for storing constants.
Definition at line 272 of file muParserDef.h.
typedef MUP_BASETYPE mu::value_type |
The numeric datatype used by the parser.
Normally this is a floating point type either single or double precision.
Definition at line 247 of file muParserDef.h.
typedef std::map<string_type, value_type*> mu::varmap_type |
Type used for storing variables.
Definition at line 269 of file muParserDef.h.
enum mu::ECmdCode |
Bytecode values.
Definition at line 149 of file muParserDef.h.
enum mu::EErrorCodes |
Error codes.
Definition at line 46 of file muParserError.h.
Parser operator precedence values.
Enumerator | |
---|---|
oaLEFT | |
oaRIGHT | |
oaNONE |
Definition at line 215 of file muParserDef.h.
enum mu::EOprtPrecedence |
Parser operator precedence values.
Definition at line 224 of file muParserDef.h.
Enumerator | |
---|---|
pviBRIEF | |
pviFULL |
Definition at line 207 of file muParserDef.h.
enum mu::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 199 of file muParserDef.h.
|
inline |
Encapsulate cout.
Used for supporting UNICODE more easily.
Definition at line 128 of file muParserDef.h.
|
inline |
Encapsulate cin.
Used for supporting UNICODE more easily.
Definition at line 137 of file muParserDef.h.