Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Xabsl2DecimalValue Class Reference

Represents a decimal value. More...

#include <Xabsl2DecimalExpression.h>

Inheritance diagram for Xabsl2DecimalValue:

Inheritance graph
[legend]
Collaboration diagram for Xabsl2DecimalValue:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Xabsl2DecimalValue (Xabsl2InputSource &input, Xabsl2ErrorHandler &errorHandler, Xabsl2Symbols &symbols)
 Constructor.

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


Private Attributes

double value
 The value.


Detailed Description

Represents a decimal value.

Author:
Martin Lötzsch

Definition at line 116 of file Xabsl2DecimalExpression.h.


Constructor & Destructor Documentation

Xabsl2DecimalValue::Xabsl2DecimalValue Xabsl2InputSource input,
Xabsl2ErrorHandler errorHandler,
Xabsl2Symbols symbols
 

Constructor.

Creates the value

Parameters:
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 Xabsl2ErrorHandler instance
symbols All available symbols

Definition at line 155 of file Xabsl2DecimalExpression.cpp.

References Xabsl2ErrorHandler::message(), Xabsl2InputSource::readValue(), and XABSL2_DEBUG_INIT.

Here is the call graph for this function:


Member Function Documentation

double Xabsl2DecimalValue::getValue  )  [virtual]
 

Calculates the value of the decimal expression.

Implements Xabsl2DecimalExpression.

Definition at line 164 of file Xabsl2DecimalExpression.cpp.


Member Data Documentation

double Xabsl2DecimalValue::value [private]
 

The value.

Definition at line 135 of file Xabsl2DecimalExpression.h.


The documentation for this class was generated from the following files:
Generated on Thu Sep 23 20:12:24 2004 for GT2004 by doxygen 1.3.6