>xabsl   The Extensible Agent Behavior Specification Language

XabslEngine Class Library Reference

 

xabsl::DecimalOptionParameterRef Class Reference

#include <XabslDecimalExpression.h>

Inheritance diagram for xabsl::DecimalOptionParameterRef:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Represents a reference to a decimal option parameter.

Author:
Martin Loetzsch

Max Risler

Definition at line 119 of file XabslDecimalExpression.h.


Public Member Functions

 DecimalOptionParameterRef (InputSource &input, ErrorHandler &errorHandler, Option &option)
 Constructor.

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


Private Attributes

double * parameter
 A pointer to the parameter.


Constructor & Destructor Documentation

xabsl::DecimalOptionParameterRef::DecimalOptionParameterRef InputSource input,
ErrorHandler errorHandler,
Option option
 

Constructor.

Creates the reference

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

Definition at line 147 of file XabslDecimalExpression.cpp.

References xabsl::Parameters::decimal, xabsl::NamedArrayElement< double * >::e, xabsl::ErrorHandler::error(), xabsl::NamedArray< double * >::exists(), xabsl::NamedArray< double * >::getPElement(), xabsl::ErrorHandler::message(), xabsl::Behavior::parameters, xabsl::InputSource::readString(), and XABSL_DEBUG_INIT.

Here is the call graph for this function:


Member Function Documentation

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

Calculates the value of the decimal expression.

Implements xabsl::DecimalExpression.

Definition at line 165 of file XabslDecimalExpression.cpp.


Member Data Documentation

double* xabsl::DecimalOptionParameterRef::parameter [private]
 

A pointer to the parameter.

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