144 class CInternalExpressionParser;
714 DeclareGetClassType();
720 CInternalExpressionParser* m_pInternal;
721 friend class CInternalExpressionParser;
Expression Parser .
Definition ExpressionParser.h:276
const CResult Parse()
Parse the input expression.
const CResult Assign(const CExpressionParser &parser)
Assign the contents of another object to the current object.
const CResult GetVariableString(int64_t i64Index, CFLString< wchar_t > &strVariableString) const
Get the value of a variable set by index.
const CResult GetVariableName(int64_t i64Index, CFLString< wchar_t > *pStrVariableName) const
Get variable names by index.
const CResult GetLastErrorSymbol(CFLString< wchar_t > &strErrorSymbol)
Get the Symbol where an error occurred during processing.
const CResult SetExpression(const CFLString< wchar_t > *pStrExpression)
Enter expression.
const CResult SetVariableValue(int64_t i64Index, double f64VariableValue)
Set the value of a variable by index as a floating point.
const CResult Evaluate(double &f64Result) const
Evaluates expression after final variable value is confirmed.
const CResult GetExpression(CFLString< wchar_t > &strExpression) const
Get the input expression.
void Clear()
Clear object contents.
const CExpressionParser & operator=(const CExpressionParser &parser)
Assignment operator.
const CResult GetPostfix(CFLArray< CFLString< wchar_t > > &flaStrPostfix) const
Get postfix expression Can be used without finalizing the variable value.
const CResult Evaluate(double *pF64Result) const
Evaluates expression after final variable value is confirmed.
const CResult GetVariableValue(int64_t i64Index, double &f64VariableValue) const
Get the value of a variable set by index.
const CResult SetExpression(const CFLString< wchar_t > &strExpression)
Enter expression.
const CResult GetVariableName(int64_t i64Index, CFLString< wchar_t > &strVariableName) const
Get variable names by index.
const CResult AddUserDefinedFunction(const CFLString< wchar_t > &strFunctionName, std::function< const CResult(const CFLString< wchar_t > &, double &)> lmdFunctionImplement)
Add user-defined functions.
CExpressionParser()
Default constructor.
CExpressionParser(const CExpressionParser &parser)
Copy constructor.
const CResult SetVariableString(int64_t i64Index, const CFLString< wchar_t > &strVariableString)
Set the value of a variable by index as a string.
const CResult GetPostfix(CFLArray< CFLString< wchar_t > > *pFlaStrPostfix) const
Get postfix expression Can be used without finalizing the variable value.
CExpressionParser(const CExpressionParser *pParser)
Copy constructor.
const CResult Assign(const CExpressionParser *pParser)
Assign the contents of another object to the current object.
const CResult GetExpression(CFLString< wchar_t > *pStrExpression) const
Get the input expression.
const CResult GetVariableValue(int64_t i64Index, double *pF64VariableValue) const
Get the value of a variable set by index.
virtual ~CExpressionParser()
Destructor.
int64_t GetVariableCount() const
Returns the number of variables in the parsed expression.
const CResult GetVariableString(int64_t i64Index, CFLString< wchar_t > *pStrVariableString) const
Get the value of a variable set by index.
Template type array class.
Definition RangeTree.h:19
Top-level base class of FLImaging.
Definition FLBase.h:36
Template type string class.
Definition INIUtilities.h:20
FLImaging module execution result object.
Definition ResultsDef.h:1514