HAPI::LabelExpression Class Reference

A label constant expression. More...

Inheritance diagram for HAPI::LabelExpression:
HAPI::ConstantExpression HAPI::Expression

List of all members.

Public Member Functions

Expressionclone () const
 Clone the expression.
std::string getLabel () const
 Return the label of the expresion.
std::string getValue () const
 Return the label of the expresion.
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.
 LabelExpression (const std::string &label)
 Construct a LabelExpression from a string.

Detailed Description

A label constant expression.

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


Copyright Hugin Expert A/S 1993-2010