FemtoScan Online SDK Documentation

Home :: FsOnlineSDK :: fmutl classes

function parse_poliz

^ 
Evaluates expression, presented in polish postfix notation.

Expression supposed to be previously computed with poliz function, expression can contain only tokens listed in eval_expression .

Source:
../fmutl/calc.h:112
Author:
ATC
Version:
1.0
Params:
expr string containing expression to evaluate.
var result of evaluation (top value of the values stack).
Returns:
true if expression was evaluated, false if error was encountered. Error assumed if value stack size is not 1 on the end of evaluation.
Code:
public FMUTL_API bool parse_poliz ( const char * expr ,
SPMVar & var )

(C) Advanced Technologies Center, 2002-2006
For support contact us at fsdev@nanoscopy.net