HAPI.Expression Class Module

Startpage
Overview
Index
HAPI
   |
   HAPI.Expression

Properties

IsComposite() [[As Boolean]] (R)
Tests whether this Expression was created by a call to GetNewCompositeExpression.

Sub Procedures

Delete()
Deallocate the expression (including sub-expressions if composite expressions).

Functions

Clone() As Expression
Create a copy of the expression.
GetBoolean() As Boolean
Return the boolean value that was used when the expression was created using GetNewBooleanExpression.
GetLabel() As String
Return a copy of the label that was used when the expression was created using GetNewLabelExpression.
GetNode() As Node
Return the node that was used when the expressions was created using GetNewNodeExpression.
GetNumber() As Double
Return the number that was used when the expression was created using GetNewNumberExpression.
GetOperands() As Collection
Return the operand list that was used when the expression was created using GetNewCompositeExpression.
GetOperator() As hOperators
Return the operator that was used when the expression was created using GetNewCompositeExpression. If applied to a simple expression, one of the operators hOperators hOperatorNode, hOperatorNumber, hOperatorLabel, or hOperatorBoolean is returned.
ToString() As String

Description

Expressions are classified (typed) by what they denote. We have four different types: Labeled, Boolean, Numeric, and Distribution. Expressions can represent constants, variables, and composite expressions, that is, expressions comprised of an operator applied to a set of operands.
HUGIN Expert A/S, 2008 - comments to activex@hugin.com