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

# Xabsl2TransitionToState Class Reference

Represents a transition to a state inside a decision tree. More...

`#include <Xabsl2Option.h>`

Inheritance diagram for Xabsl2TransitionToState:

[legend]
Collaboration diagram for Xabsl2TransitionToState:

[legend]
List of all members.

## Public Member Functions
| Xabsl2TransitionToState (Xabsl2InputSource &input, Xabsl2ErrorHandler &errorHandler, Xabsl2Array< Xabsl2State * > &states)
| Constructor.
virtual Xabsl2State * | getNextState ()
| Executes the statement and determines the next active state (can be the same).
## Private Attributes
Xabsl2State * | nextState
| The state where that transition points to.

## Detailed Description

Represents a transition to a state inside a decision tree.

Definition at line 117 of file Xabsl2Option.h.

## Constructor & Destructor Documentation

Xabsl2TransitionToState::Xabsl2TransitionToState | ( | Xabsl2InputSource & | input,
|  | Xabsl2ErrorHandler & | errorHandler,
|  | Xabsl2Array< Xabsl2State * > & | states
| ) |

  | Constructor. Creates the transition object Parameters:
  input | An input source for the intermediate code. It must be opened and read until A position where a transition starts.
  errorHandler | A reference to a Xabsl2ErrorHandler instance
  states | All states of the option
Definition at line 134 of file Xabsl2Option.cpp. References Xabsl2Array< T >::getElement(), Xabsl2ErrorHandler::message(), Xabsl2NamedItem::n, nextState, Xabsl2InputSource::readString(), and XABSL2_DEBUG_INIT.

Here is the call graph for this function:

## Member Function Documentation

Xabsl2State * Xabsl2TransitionToState::getNextState | ( |  | ) | `[virtual]`

| Executes the statement and determines the next active state (can be the same). Implements Xabsl2Statement. Definition at line 146 of file Xabsl2Option.cpp. References nextState.

## Member Data Documentation

Xabsl2State* Xabsl2TransitionToState::nextState`[private]`

| The state where that transition points to. Definition at line 136 of file Xabsl2Option.h. Referenced by getNextState(), and Xabsl2TransitionToState().

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

- Tools/Xabsl2/Xabsl2Engine/Xabsl2Option.h
- Tools/Xabsl2/Xabsl2Engine/Xabsl2Option.cpp