>xabsl   The Extensible Agent Behavior Specification Language

XabslEngine Class Library Reference


xabsl::EnumeratedOutputSymbolRef Class Reference

#include <XabslEnumeratedExpression.h>

Inheritance diagram for xabsl::EnumeratedOutputSymbolRef:

Inheritance graph
Collaboration diagram for xabsl::EnumeratedOutputSymbolRef:

Collaboration graph
List of all members.

Detailed Description

Represents a reference to a enumerated input symbol.

Martin Loetzsch

Max Risler

Definition at line 196 of file XabslEnumeratedExpression.h.

Public Member Functions

virtual int getValue () const
 Calculates the value of the enumerated expression.

 EnumeratedOutputSymbolRef (const Enumeration *enumeration, InputSource &input, ErrorHandler &errorHandler, Symbols &symbols)

Private Attributes

const EnumeratedOutputSymbolsymbol
 The referenced symbol.

Constructor & Destructor Documentation

xabsl::EnumeratedOutputSymbolRef::EnumeratedOutputSymbolRef const Enumeration enumeration,
InputSource input,
ErrorHandler errorHandler,
Symbols symbols


Creates the function call depending on the input.

enumeration A reference to the enumeration which is the domain of this expression
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 177 of file XabslEnumeratedExpression.cpp.

References xabsl::Symbols::enumeratedOutputSymbols, xabsl::EnumeratedOutputSymbol::enumeration, xabsl::ErrorHandler::error(), xabsl::NamedArray< EnumeratedOutputSymbol * >::exists(), xabsl::ErrorHandler::message(), xabsl::NamedItem::n, xabsl::InputSource::readString(), and XABSL_DEBUG_INIT.

Here is the call graph for this function:

Member Function Documentation

int xabsl::EnumeratedOutputSymbolRef::getValue  )  const [virtual]

Calculates the value of the enumerated expression.

Implements xabsl::EnumeratedExpression.

Definition at line 202 of file XabslEnumeratedExpression.cpp.

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

Here is the call graph for this function:

Member Data Documentation

const EnumeratedOutputSymbol* xabsl::EnumeratedOutputSymbolRef::symbol [private]

The referenced symbol.

Definition at line 217 of file XabslEnumeratedExpression.h.

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

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