>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
[legend]
Collaboration diagram for xabsl::RelationalAndEqualityOperator:

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Author:
Martin Loetzsch

Definition at line 383 of file XabslBooleanExpression.h.


Public Member Functions

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

 ~RelationalAndEqualityOperator ()
 Destructor.

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


Protected Attributes

DecimalExpressionoperand1
 operand 1

DecimalExpressionoperand2
 operand 2


Constructor & Destructor Documentation

xabsl::RelationalAndEqualityOperator::~RelationalAndEqualityOperator  ) 
 

Destructor.

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.

Parameters:
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.