bcParser.NET
Math Parser for .NET
Public Member Functions | List of all members
Bestcode.MathParser.Node Class Referenceabstract

Support class that represents generic node, base for all nodes. More...

Inheritance diagram for Bestcode.MathParser.Node:
Bestcode.MathParser.IParameter

Public Member Functions

abstract IConvertible GetValue ()
 Returns the value as IConvertible which can be converted to other Types using the COnvert class. More...
 
abstract String GetValueAsString ()
 Returns the value as a String. More...
 
abstract bool IsUsed (Object Addr)
 Is this Object used in the expression under this node? More...
 
abstract void Optimize ()
 Optimize Evaluates constant values at compile time (When Parse() is called). Once this is done, Evaluate will run faster. More...
 

Detailed Description

Support class that represents generic node, base for all nodes.

Member Function Documentation

abstract IConvertible Bestcode.MathParser.Node.GetValue ( )
pure virtual

Returns the value as IConvertible which can be converted to other Types using the COnvert class.

Returns
The value

Implements Bestcode.MathParser.IParameter.

abstract String Bestcode.MathParser.Node.GetValueAsString ( )
pure virtual

Returns the value as a String.

Returns
String

Implements Bestcode.MathParser.IParameter.

abstract bool Bestcode.MathParser.Node.IsUsed ( Object  Addr)
pure virtual

Is this Object used in the expression under this node?

Parameters
AddrThe Object we are looking for. Could be a function or a variable.
Returns
bool
abstract void Bestcode.MathParser.Node.Optimize ( )
pure virtual

Optimize Evaluates constant values at compile time (When Parse() is called). Once this is done, Evaluate will run faster.