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

# Xabsl2MessageInputSource Class Reference

Implements Xabsl2InputSource using the InConfigMessage class. More...

`#include <GTXabsl2EngineExecutor.h>`

Inheritance diagram for Xabsl2MessageInputSource:

[legend]
Collaboration diagram for Xabsl2MessageInputSource:

[legend]
List of all members.

## Public Member Functions
| Xabsl2MessageInputSource (InConfigMessage &message)
| Constructor.
| ~Xabsl2MessageInputSource ()
| Destructor.
virtual bool | open ()
| opens the source that contains the intermediate code
virtual void | close ()
| closes the source
virtual double | readValue ()
| reads a numeric value from the input source
virtual bool | readString (char *destination, int maxLength)
| reads a string from the input source
## Private Attributes
InConfigMessage & | message
| The file to read the data from.

## Detailed Description

Implements Xabsl2InputSource using the InConfigMessage class.

Definition at line 81 of file GTXabsl2EngineExecutor.h.

## Constructor & Destructor Documentation

Xabsl2MessageInputSource::Xabsl2MessageInputSource | ( | InConfigMessage & | message | ) |

  | Constructor. Does not open the file Parameters:
  message | A reference to the message that contains the intermediate code
Definition at line 470 of file GTXabsl2EngineExecutor.cpp.

Xabsl2MessageInputSource::~Xabsl2MessageInputSource | ( |  | ) | `[inline]`

| Destructor. Definition at line 91 of file GTXabsl2EngineExecutor.h.

## Member Function Documentation

virtual bool Xabsl2MessageInputSource::open | ( |  | ) | `[inline, virtual]`

| opens the source that contains the intermediate code Implements Xabsl2InputSource. Definition at line 94 of file GTXabsl2EngineExecutor.h.

virtual void Xabsl2MessageInputSource::close | ( |  | ) | `[inline, virtual]`

| closes the source Implements Xabsl2InputSource. Definition at line 97 of file GTXabsl2EngineExecutor.h.

double Xabsl2MessageInputSource::readValue | ( |  | ) | `[virtual]`

| reads a numeric value from the input source Implements Xabsl2InputSource. Definition at line 475 of file GTXabsl2EngineExecutor.cpp. References message.

bool Xabsl2MessageInputSource::readString | ( | char * | destination,
|  | int | maxLength
| ) | `[virtual]`

  | reads a string from the input source Parameters:
  destination | The position where to write the string
  maxLength | the maximum length of the string
Returns: if the read succeded Implements Xabsl2InputSource. Definition at line 482 of file GTXabsl2EngineExecutor.cpp. References message.

## Member Data Documentation

InConfigMessage& Xabsl2MessageInputSource::message`[private]`

| The file to read the data from. Definition at line 112 of file GTXabsl2EngineExecutor.h. Referenced by readString(), and readValue().

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

- Tools/Xabsl2/GT/GTXabsl2EngineExecutor.h
- Tools/Xabsl2/GT/GTXabsl2EngineExecutor.cpp