OpcUaCanOpen
CANopen OPC-UA server
|
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <wchar.h>
#include "muParserDLL.h"
Go to the source code of this file.
Macros | |
#define | PARSER_CONST_PI 3.141592653589793238462643 |
#define | PARSER_CONST_E 2.718281828459045235360287 |
#define | PARSER_MAXVARS 10 |
#define | _T(x) x |
#define | myprintf printf |
#define | mystrlen strlen |
#define | myfgets fgets |
#define | mystrcmp strcmp |
Functions | |
void | CalcBulk () |
muFloat_t | Mega (muFloat_t a_fVal) |
muFloat_t | Milli (muFloat_t a_fVal) |
muFloat_t | ZeroArg () |
muFloat_t | BulkTest (int nBulkIdx, int nThreadIdx, muFloat_t v1) |
muFloat_t | Not (muFloat_t v) |
muFloat_t | Rnd (muFloat_t v) |
muFloat_t | SampleQuery (const muChar_t *szMsg) |
muFloat_t | Sum (const muFloat_t *a_afArg, int a_iArgc) |
muFloat_t | Add (muFloat_t v1, muFloat_t v2) |
muFloat_t | Mul (muFloat_t v1, muFloat_t v2) |
muFloat_t * | AddVariable (const muChar_t *a_szName, void *pUserData) |
void | Intro (muParserHandle_t hParser) |
void | OnError (muParserHandle_t hParser) |
void | ListVar (muParserHandle_t a_hParser) |
void | ListExprVar (muParserHandle_t a_hParser) |
void | ListConst (muParserHandle_t a_hParser) |
int | CheckKeywords (const muChar_t *a_szLine, muParserHandle_t a_hParser) |
Check for external keywords. More... | |
void | Calc () |
int | main (int argc, char *argv[]) |
#define _T | ( | x | ) | x |
Definition at line 13 of file example2.c.
#define myfgets fgets |
Definition at line 16 of file example2.c.
#define myprintf printf |
Definition at line 14 of file example2.c.
#define mystrcmp strcmp |
Definition at line 17 of file example2.c.
#define mystrlen strlen |
Definition at line 15 of file example2.c.
#define PARSER_CONST_E 2.718281828459045235360287 |
Definition at line 9 of file example2.c.
#define PARSER_CONST_PI 3.141592653589793238462643 |
Definition at line 8 of file example2.c.
#define PARSER_MAXVARS 10 |
Definition at line 10 of file example2.c.
Definition at line 83 of file example2.c.
Definition at line 96 of file example2.c.
Definition at line 46 of file example2.c.
void Calc | ( | ) |
Definition at line 340 of file example2.c.
void CalcBulk | ( | ) |
Definition at line 295 of file example2.c.
int CheckKeywords | ( | const muChar_t * | a_szLine, |
muParserHandle_t | a_hParser | ||
) |
Check for external keywords.
Definition at line 241 of file example2.c.
void Intro | ( | muParserHandle_t | hParser | ) |
Definition at line 114 of file example2.c.
void ListConst | ( | muParserHandle_t | a_hParser | ) |
Definition at line 213 of file example2.c.
void ListExprVar | ( | muParserHandle_t | a_hParser | ) |
Definition at line 186 of file example2.c.
void ListVar | ( | muParserHandle_t | a_hParser | ) |
Definition at line 160 of file example2.c.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 433 of file example2.c.
Definition at line 30 of file example2.c.
Definition at line 35 of file example2.c.
Definition at line 88 of file example2.c.
Definition at line 54 of file example2.c.
void OnError | ( | muParserHandle_t | hParser | ) |
Definition at line 149 of file example2.c.
Definition at line 58 of file example2.c.
Definition at line 60 of file example2.c.
Definition at line 70 of file example2.c.
muFloat_t ZeroArg | ( | ) |
Definition at line 40 of file example2.c.