Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

HAPI::NodeExpression Class Reference

Inheritance diagram for HAPI::NodeExpression:

HAPI::Expression List of all members.

Detailed Description

An expression representing the value of a discrete chance node or decision node.


Public Member Functions

Expressionclone () const
 Clone the NodeExpression.

NodegetNode () const
 Return the node used to build the expression.

NodegetValue () const
 Return the node used to build the expression.

bool isCompositeExpression () const
 Test if the expression is a CompositeExpression.

bool isConstantExpression () const
 Test if the expression is a ConstantExpression.

bool isNodeExpression () const
 Test if the expression is a NodeExpression.


Member Function Documentation

Expression* HAPI::NodeExpression::clone  )  const [virtual]
 

Clone the NodeExpression.

Returns:
Expression*

Implements HAPI::Expression.

Node* HAPI::NodeExpression::getNode  )  const
 

Return the node used to build the expression.

Returns:
Node*

Node* HAPI::NodeExpression::getValue  )  const [inline]
 

Return the node used to build the expression.

Returns:
Node*

bool HAPI::NodeExpression::isCompositeExpression  )  const [inline, virtual]
 

Test if the expression is a CompositeExpression.

Returns:
boolean

Implements HAPI::Expression.

bool HAPI::NodeExpression::isConstantExpression  )  const [inline, virtual]
 

Test if the expression is a ConstantExpression.

Returns:
boolean

Implements HAPI::Expression.

bool HAPI::NodeExpression::isNodeExpression  )  const [inline, virtual]
 

Test if the expression is a NodeExpression.

Returns:
boolean

Implements HAPI::Expression.


Copyright Hugin Expert A/S 1993-2004