>xabsl   The Extensible Agent Behavior Specification Language

XabslEngine Class Library Reference

 

xabsl::EnumeratedInputSymbolComparison Class Reference

#include <XabslBooleanExpression.h>

Inheritance diagram for xabsl::EnumeratedInputSymbolComparison:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Represents an 'enumerated-input-symbol-comparison' element of the option graph.

Author:
Martin Loetzsch

Definition at line 344 of file XabslBooleanExpression.h.


Public Member Functions

 EnumeratedInputSymbolComparison (InputSource &input, ErrorHandler &errorHandler, Symbols &symbols, Option &option, State &state)
 Constructor.

 ~EnumeratedInputSymbolComparison ()
 Destructor.

virtual bool getValue () const
 Evaluates the boolean expression.


Protected Attributes

const EnumeratedExpressionoperand1
 operand 1

const EnumeratedExpressionoperand2
 operand 2


Constructor & Destructor Documentation

xabsl::EnumeratedInputSymbolComparison::EnumeratedInputSymbolComparison InputSource input,
ErrorHandler errorHandler,
Symbols symbols,
Option option,
State state
 

Constructor.

Creates the element

Parameters:
input An input source for the intermediate code. It must be opened and read until A position where a expression starts.
errorHandler A reference to a ErrorHandler instance
symbols All available symbols
option The current option
state The current state

Definition at line 402 of file XabslBooleanExpression.cpp.

References xabsl::EnumeratedExpression::enumeration, xabsl::ErrorHandler::error(), and operand2.

Here is the call graph for this function:

xabsl::EnumeratedInputSymbolComparison::~EnumeratedInputSymbolComparison  ) 
 

Destructor.

Deletes the two operands

Definition at line 422 of file XabslBooleanExpression.cpp.

References operand2.


Member Function Documentation

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

Evaluates the boolean expression.

Implements xabsl::BooleanExpression.

Definition at line 428 of file XabslBooleanExpression.cpp.

References xabsl::EnumeratedExpression::getValue(), and operand2.

Here is the call graph for this function:


Member Data Documentation

const EnumeratedExpression* xabsl::EnumeratedInputSymbolComparison::operand1 [protected]
 

operand 1

Definition at line 370 of file XabslBooleanExpression.h.

const EnumeratedExpression* xabsl::EnumeratedInputSymbolComparison::operand2 [protected]
 

operand 2

Definition at line 373 of file XabslBooleanExpression.h.

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


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

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