bcParserCPP 2.8
Math Parser for C++
Public Member Functions
CUnknownVarNode< _CharT, _ValueT > Class Template Reference

A variable node for variables that are not predefined. More...

Inheritance diagram for CUnknownVarNode< _CharT, _ValueT >:
CNode< _ValueT >

List of all members.

Public Member Functions

 CUnknownVarNode (CMathParser< _CharT, _ValueT > *Parser, const string_t varName)
virtual _ValueT GetValue ()
 Return the value of the variable by invoking the variable callback function that is registered on the parser instance.
virtual BOOL IsUsed (void *Addr)
 This method answers the question "Is Variable XYZ used in this part of the expression?".
virtual void Optimize ()
 Nothing to optimize in this node.
virtual CNode< _ValueT >::NODE_TYPE GetType ()
 Return CNode::VARIABLE.

Detailed Description

template<typename _CharT, typename _ValueT>
class CUnknownVarNode< _CharT, _ValueT >

A variable node for variables that are not predefined.

Their values will be provided by the application via callback function.


Member Function Documentation

template<typename _CharT , typename _ValueT >
virtual void CUnknownVarNode< _CharT, _ValueT >::Optimize ( ) [inline, virtual]

Nothing to optimize in this node.

A No-op.

Implements CNode< _ValueT >.

 All Classes Functions Variables Typedefs Enumerations