Public Member Functions

HAPI::BooleanExpression Class Reference

A Boolean constant expression. More...

Inheritance diagram for HAPI::BooleanExpression:
HAPI::ConstantExpression HAPI::Expression

List of all members.

Public Member Functions

 BooleanExpression (bool value)
 Construct a BooleanExpression from a boolean value.
Expressionclone () const
 Clone the expression.
bool getBoolean () const
 Return the value of the BooleanExpression.
Operator getOperator () const
 Return the Operator for this Expression.
bool getValue () const
 Return the value of the Expression.
bool isBooleanExpression () const
 Test if the expression is a BooleanExpression.
bool isLabelExpression () const
 Test if the expression is a LabelExpression.
bool isNumberExpression () const
 Test if the expression is a NumberExpression.

Detailed Description

A Boolean constant expression.

This type of expression is used to compare with state values of Boolean discrete chance nodes or decision nodes.


Copyright Hugin Expert A/S 1993-2024