CAEN Utility  2.0.2
Utilities for CAEN projects
CAENExpressionEvaluator.h File Reference

Tools to compute the numeric result of a string. More...

#include <types/CAENExpressionEvaluatorTypes.h>
#include <CAENUtility.h>
#include <stdint.h>
#include <stddef.h>
Include dependency graph for CAENExpressionEvaluator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void c_ee_substituteIdxExpression (const char *expression, int32_t value, char *dest, size_t maxsize)
 
int64_t c_ee_exprEval (const char *expression)
 
c_ee_err_t c_ee_getErr (void)
 
const char * c_ee_getErrPos (void)
 
int32_t c_ee_modifyAndEvaluateExpression (const char *expression, int32_t idx, int64_t *result)
 

Detailed Description

Tools to compute the numeric result of a string.

Author

Definition in file CAENExpressionEvaluator.h.

Function Documentation

◆ c_ee_substituteIdxExpression()

void c_ee_substituteIdxExpression ( const char *  expression,
int32_t  value,
char *  dest,
size_t  maxsize 
)

Definition at line 359 of file CAENExpressionEvaluator.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ c_ee_exprEval()

int64_t c_ee_exprEval ( const char *  expression)

Definition at line 233 of file CAENExpressionEvaluator.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ c_ee_getErr()

c_ee_err_t c_ee_getErr ( void  )

Definition at line 252 of file CAENExpressionEvaluator.c.

Here is the caller graph for this function:

◆ c_ee_getErrPos()

const char* c_ee_getErrPos ( void  )

Definition at line 256 of file CAENExpressionEvaluator.c.

Here is the call graph for this function:

◆ c_ee_modifyAndEvaluateExpression()

int32_t c_ee_modifyAndEvaluateExpression ( const char *  expression,
int32_t  idx,
int64_t *  result 
)

Definition at line 386 of file CAENExpressionEvaluator.c.

Here is the call graph for this function: