>xabsl   The Extensible Agent Behavior Specification Language

XabslEngine Class Library Reference

 

xabsl::BooleanOutputSymbolRef Class Reference

#include <XabslBooleanExpression.h>

Inheritance diagram for xabsl::BooleanOutputSymbolRef:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Represents a reference to a boolean input symbol.

Author:
Max Risler

Definition at line 261 of file XabslBooleanExpression.h.


Public Member Functions

virtual bool getValue () const
 Calculates the value of the boolean expression.

 BooleanOutputSymbolRef (InputSource &input, ErrorHandler &errorHandler, Symbols &symbols)
 Constructor.


Private Attributes

BooleanOutputSymbolsymbol
 The referenced symbol.


Constructor & Destructor Documentation

xabsl::BooleanOutputSymbolRef::BooleanOutputSymbolRef InputSource input,
ErrorHandler errorHandler,
Symbols symbols
 

Constructor.

Creates the function call depending on the input.

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

Definition at line 348 of file XabslBooleanExpression.cpp.

References xabsl::Symbols::booleanOutputSymbols, xabsl::ErrorHandler::error(), xabsl::NamedArray< BooleanOutputSymbol * >::exists(), xabsl::ErrorHandler::message(), xabsl::InputSource::readString(), and XABSL_DEBUG_INIT.

Here is the call graph for this function:


Member Function Documentation

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

Calculates the value of the boolean expression.

Implements xabsl::BooleanExpression.

Definition at line 366 of file XabslBooleanExpression.cpp.

References xabsl::OutputSymbol< bool >::getValue().

Here is the call graph for this function:


Member Data Documentation

BooleanOutputSymbol* xabsl::BooleanOutputSymbolRef::symbol [private]
 

The referenced symbol.

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