Inheritance diagram for HAPI::BooleanExpression:
This type of expression is used to compare with state values of Boolean discrete chance nodes or decision nodes.
Public Member Functions | |
BooleanExpression (bool value) | |
Construct a BooleanExpression from a boolean value. | |
Expression * | clone () 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. |
|
Construct a BooleanExpression from a boolean value.
|
|
Clone the expression.
Implements HAPI::Expression. |
|
Return the value of the BooleanExpression.
|
|
Return the Operator for this Expression.
|
|
Return the value of the Expression.
|
|
Test if the expression is a BooleanExpression.
Implements HAPI::ConstantExpression. |
|
Test if the expression is a LabelExpression.
Implements HAPI::ConstantExpression. |
|
Test if the expression is a NumberExpression.
Implements HAPI::ConstantExpression. |