Defined in file: hzNumexp.h

The hzNumexp class can now evaluate an unlimited tree of constants, variables and expressions in parenthesis.

Constructors/Detructors

hzNumexp*hzNumexp(void)
void~hzNumexp(void)

Public Methods:

doubleEvaluate(void)Evaluate expression into single atomic value. Arguments: None
hzEcodeParse(const char* pExp)Parses extression into a single operand or more generally, a tree of formulae that will evaluate to a single value.
hzNumexpTerm*Parse(void)convert text tokens into tree of hzNumexpForm, hzReference & hzNumexpValue Arguments: None Pointer to numeric expresssion term base class instance
hzChain&Show(void)

Member Variables:

doublem_DefaultDefault value
hzChainm_ErrorError reporting
hzVect<hzToken>m_TokensTokens of numeric expression
uint32_tm_nParLevelCurrent level in expression tree
hzNumexpTerm*m_pRootExpression root
uint32_tm_tokIterToken iterator