Top Method Summary
Options Name Purpose
+ LOGICAL Evaluate (character) Evaluates a logical expression

Top Constructor Summary
Options Name Purpose
LogicalExpressionParser () Static Constructor for the LogicalExpressionParser class
+ LogicalExpressionParser (ILogicalValueProvider) Constructor for the LogicalExpressionParser class

Top Property Summary
Options Name Purpose
+ Consultingwerk.Framework.ExpressionParser.ILogicalValueProvider LogicalValueProvider


Method Detail
Top

PUBLIC LOGICAL Evaluate (character)

Purpose: Evaluates a logical expression
Notes: Parses logical expressions, supports the following logical operators:
& AND
| OR
! NOT
Supports for double/single quoted expressions
Supports parenthesis

Parameters:
pcExpression CHARACTER
The logical expression to evaluate
Returns LOGICAL
The expression result


Constructor Detail
Top

STATIC LogicalExpressionParser ()

Purpose: Static Constructor for the LogicalExpressionParser class
Notes: Creates single temp-table record required by expression parser

Top

PUBLIC LogicalExpressionParser (ILogicalValueProvider)

Purpose: Constructor for the LogicalExpressionParser class
Notes:

Parameters:
poValueProvider Consultingwerk.Framework.ExpressionParser.ILogicalValueProvider
The ILogicalValueProvider that provides the values for the expression parser


Property Detail
Top

PUBLIC Consultingwerk.Framework.ExpressionParser.ILogicalValueProvider LogicalValueProvider


Returns Consultingwerk.Framework.ExpressionParser.ILogicalValueProvider


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 12:58:54