>xabsl   The Extensible Agent Behavior Specification Language

XabslEngine Class Library Reference

 

xabsl::OrOperator Class Reference

#include <XabslBooleanExpression.h>

Inheritance diagram for xabsl::OrOperator:

Inheritance graph
[legend]
Collaboration diagram for xabsl::OrOperator:

Collaboration graph
[legend]
List of all members.

Detailed Description

Represents an 'or' element of the option graph.

Author:
Martin Loetzsch

Definition at line 167 of file XabslBooleanExpression.h.


Public Member Functions

 OrOperator ()
 Constructor.

 ~OrOperator ()
 Destructor.

virtual bool getValue () const
 Evaluates the boolean expression.

void addOperand (BooleanExpression *operand)
 Adds an operand to the operands array.


Private Attributes

Array< BooleanExpression * > operands
 the 2+n operands of the operator


Constructor & Destructor Documentation

xabsl::OrOperator::OrOperator  ) 
 

Constructor.

Definition at line 266 of file XabslBooleanExpression.cpp.

References xabsl::Array< BooleanExpression * >::clear().

Here is the call graph for this function:

xabsl::OrOperator::~OrOperator  ) 
 

Destructor.

Deletes the two operands

Definition at line 271 of file XabslBooleanExpression.cpp.

References xabsl::Array< BooleanExpression * >::getSize().

Here is the call graph for this function:


Member Function Documentation

bool xabsl::OrOperator::getValue  )  const [virtual]
 

Evaluates the boolean expression.

Implements xabsl::BooleanExpression.

Definition at line 279 of file XabslBooleanExpression.cpp.

References xabsl::Array< BooleanExpression * >::getSize().

Here is the call graph for this function:

void xabsl::OrOperator::addOperand BooleanExpression operand  ) 
 

Adds an operand to the operands array.

Definition at line 288 of file XabslBooleanExpression.cpp.

References xabsl::Array< BooleanExpression * >::append().

Referenced by xabsl::BooleanExpression::create().

Here is the call graph for this function:


Member Data Documentation

Array<BooleanExpression*> xabsl::OrOperator::operands [private]
 

the 2+n operands of the operator

Definition at line 184 of file XabslBooleanExpression.h.


The documentation for this class was generated from the following files:

Up | Main Page | Generated at Wed Aug 19 17:32:30 2009.