>xabsl   The Extensible Agent Behavior Specification Language

XabslEngine Class Library Reference


xabsl::DecimalValue Class Reference

#include <XabslDecimalExpression.h>

Inheritance diagram for xabsl::DecimalValue:

Inheritance graph
Collaboration diagram for xabsl::DecimalValue:

Collaboration graph
List of all members.

Detailed Description

Represents a decimal value.

Martin Loetzsch

Definition at line 85 of file XabslDecimalExpression.h.

Public Member Functions

 DecimalValue (InputSource &input, ErrorHandler &errorHandler)

 DecimalValue (double value)

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

Private Attributes

double value
 The value.

Constructor & Destructor Documentation

xabsl::DecimalValue::DecimalValue InputSource input,
ErrorHandler errorHandler


Creates the value

input An input source for the intermediate code. It must be opened and read until A position where a value starts.
errorHandler A reference to a ErrorHandler instance

Definition at line 134 of file XabslDecimalExpression.cpp.

References xabsl::ErrorHandler::message(), xabsl::InputSource::readValue(), and XABSL_DEBUG_INIT.

Here is the call graph for this function:

xabsl::DecimalValue::DecimalValue double  value  )  [inline]


Creates an expression for a fixed decimal value

value The decimal value

Definition at line 101 of file XabslDecimalExpression.h.

Member Function Documentation

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

Calculates the value of the decimal expression.

Implements xabsl::DecimalExpression.

Definition at line 142 of file XabslDecimalExpression.cpp.

Member Data Documentation

double xabsl::DecimalValue::value [private]

The value.

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