>xabsl   The Extensible Agent Behavior Specification Language

XabslEngine Class Library Reference


xabsl::RelationalAndEqualityOperator Class Reference

#include <XabslBooleanExpression.h>

Inheritance diagram for xabsl::RelationalAndEqualityOperator:

Inheritance graph
Collaboration diagram for xabsl::RelationalAndEqualityOperator:

Collaboration graph
List of all members.

Detailed Description

Base class for the operators <, <=, >, >=, == and !=.

Martin Loetzsch

Definition at line 383 of file XabslBooleanExpression.h.

Public Member Functions

void create (DecimalExpression *operand1, DecimalExpression *operand2)
 Creates the element.

 ~RelationalAndEqualityOperator ()

virtual bool getValue () const=0
 Evaluates the boolean expression.

Protected Attributes

 operand 1

 operand 2

Constructor & Destructor Documentation

xabsl::RelationalAndEqualityOperator::~RelationalAndEqualityOperator  ) 


Deletes the two operands

Definition at line 440 of file XabslBooleanExpression.cpp.

Member Function Documentation

void xabsl::RelationalAndEqualityOperator::create DecimalExpression operand1,
DecimalExpression operand2

Creates the element.

operand1 A decimal expression
operand2 A decimal expression

Definition at line 433 of file XabslBooleanExpression.cpp.

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

virtual bool xabsl::RelationalAndEqualityOperator::getValue  )  const [pure virtual]

Evaluates the boolean expression.

Implements xabsl::BooleanExpression.

Implemented in xabsl::EqualToOperator, xabsl::NotEqualToOperator, xabsl::LessThanOperator, xabsl::LessThanOrEqualToOperator, xabsl::GreaterThanOperator, and xabsl::GreaterThanOrEqualToOperator.

Member Data Documentation

DecimalExpression* xabsl::RelationalAndEqualityOperator::operand1 [protected]

operand 1

Definition at line 402 of file XabslBooleanExpression.h.

DecimalExpression* xabsl::RelationalAndEqualityOperator::operand2 [protected]

operand 2

Definition at line 405 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.