Click or drag to resize
LogicExpression Class
Parses and evaluates a logic (boolean) expression
Inheritance Hierarchy
SystemObject
  ABB.Robotics.MathLogicExpression

Namespace:  ABB.Robotics.Math
Assembly:  ABB.Robotics.Math (in ABB.Robotics.Math.dll) Version: 7.0.8747.636
Syntax
C#
public class LogicExpression

The LogicExpression type exposes the following members.

Constructors
  NameDescription
Public methodLogicExpression(String)
Creates an expression.
Public methodLogicExpression(String, Boolean)
Creates an expression without variables, if 'literal' is true. Any non-operators are evaluated by string comparison.
Top
Properties
  NameDescription
Public propertyExpressionString
Gets or sets the source expression string
Public propertyIsValid
Returns True if the expression is valid and can be evaluated
Public propertyVariableNames
Returns the names of variables used in the expression
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodEvaluate
Evaluates the expression
Public methodStatic memberGetAllowedOperators
Returns the allowed operators
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodSetVariableValue
Sets the value of a variable, which will be used the next time the expression is evaluated.
Public methodToString (Inherited from Object.)
Public methodTrySetVariableValue
Sets the value of a variable, which will be used the next time the expression is evaluated.
Top
Version Information

Supported in: 1.0
See Also