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:
| double | Evaluate | (void) | Evaluate expression into single atomic value. Arguments: None |
| hzEcode | Parse | (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:
| double | m_Default | Default value | |
| hzChain | m_Error | Error reporting | |
| hzVect<hzToken> | m_Tokens | Tokens of numeric expression | |
| uint32_t | m_nParLevel | Current level in expression tree | |
| hzNumexpTerm* | m_pRoot | Expression root | |
| uint32_t | m_tokIter | Token iterator |