>xabsl   The Extensible Agent Behavior Specification Language

XabslEngine Class Library Reference


xabsl::DecimalOutputSymbolRef Class Reference

#include <XabslDecimalExpression.h>

Inheritance diagram for xabsl::DecimalOutputSymbolRef:

Inheritance graph
Collaboration diagram for xabsl::DecimalOutputSymbolRef:

Collaboration graph
List of all members.

Detailed Description

Represents a reference to a decimal input symbol.

Max Risler

Definition at line 316 of file XabslDecimalExpression.h.

Public Member Functions

virtual double getValue () const
 Calculates the value of the decimal expression.

 DecimalOutputSymbolRef (InputSource &input, ErrorHandler &errorHandler, Symbols &symbols)

Private Attributes

 The referenced symbol.

Constructor & Destructor Documentation

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


Creates the function call depending on the input.

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 263 of file XabslDecimalExpression.cpp.

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

Here is the call graph for this function:

Member Function Documentation

double xabsl::DecimalOutputSymbolRef::getValue  )  const [virtual]

Calculates the value of the decimal expression.

Implements xabsl::DecimalExpression.

Definition at line 281 of file XabslDecimalExpression.cpp.

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

Here is the call graph for this function:

Member Data Documentation

DecimalOutputSymbol* xabsl::DecimalOutputSymbolRef::symbol [private]

The referenced symbol.

Definition at line 335 of file XabslDecimalExpression.h.

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

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