>xabsl   The Extensible Agent Behavior Specification Language

XabslEngine Class Library Reference

 

xabsl::NotOperator Class Reference

#include <XabslBooleanExpression.h>

Inheritance diagram for xabsl::NotOperator:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Represents an 'not' element of the option graph.

Author:
Martin Loetzsch

Definition at line 195 of file XabslBooleanExpression.h.


Public Member Functions

 NotOperator (BooleanExpression *operand1)
 Constructor.

 ~NotOperator ()
 Destructor.

virtual bool getValue () const
 Evaluates the boolean expression.


Private Attributes

BooleanExpressionoperand1
 operand 1


Constructor & Destructor Documentation

xabsl::NotOperator::NotOperator BooleanExpression operand1  ) 
 

Constructor.

Creates the element.

Parameters:
operand1 A boolean expression

Definition at line 293 of file XabslBooleanExpression.cpp.

xabsl::NotOperator::~NotOperator  ) 
 

Destructor.

Deletes the operand

Definition at line 298 of file XabslBooleanExpression.cpp.

References operand1.


Member Function Documentation

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

Evaluates the boolean expression.

Implements xabsl::BooleanExpression.

Definition at line 303 of file XabslBooleanExpression.cpp.

References xabsl::BooleanExpression::getValue(), and operand1.

Here is the call graph for this function:


Member Data Documentation

BooleanExpression* xabsl::NotOperator::operand1 [private]
 

operand 1

Definition at line 212 of file XabslBooleanExpression.h.

Referenced by getValue(), and ~NotOperator().


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

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