Merge class which contains one state, one stack symbol and a string annotation. More...

#include <pd_merge.h>

Public Member Functions

 MergeStateSplit (const Idx state)
 Constructor for heads.
 MergeStateSplit (const Idx state, const Idx symbol)
 Constructor for ears.
Idx State () const
 Getter for State.
Idx Symbol () const
 Getter for symbol.
bool IsHead () const
 Getter for IsHead.
void Write (TokenWriter &rTw, const std::string &rLabel)
 Writes the contained items.

Public Attributes

Idx mState
 the contained state
Idx mSymbol
 the stack symbol
bool mIsHead
 isHead

Detailed Description

Merge class which contains one state, one stack symbol and a string annotation.

Overview

Overview

Contents

Contents

Definition at line 256 of file pd_merge.h.

Constructor & Destructor Documentation

faudes::MergeStateSplit::MergeStateSplit ( const Idx  state)

Constructor for heads.

Parameters
stateThe state, which must not be empty

Definition at line 173 of file pd_merge.cpp.

faudes::MergeStateSplit::MergeStateSplit ( const Idx  state,
const Idx  symbol 
)

Constructor for ears.

Parameters
stateThe state, which must not be empty
symbolThe stack symbol

Definition at line 181 of file pd_merge.cpp.

Member Function Documentation

bool faudes::MergeStateSplit::IsHead ( ) const
inline

Getter for IsHead.

Returns
mIsHead

Definition at line 307 of file pd_merge.h.

Idx faudes::MergeStateSplit::State ( ) const
inline

Getter for State.

Returns
mState

Definition at line 291 of file pd_merge.h.

Idx faudes::MergeStateSplit::Symbol ( ) const
inline

Getter for symbol.

Returns
mSymbol

Definition at line 299 of file pd_merge.h.

void faudes::MergeStateSplit::Write ( TokenWriter rTw,
const std::string &  rLabel 
)
virtual

Writes the contained items.

Parameters
rTwTokenWriter
rLabellabel

Implements faudes::MergeAbstract.

Definition at line 189 of file pd_merge.cpp.

Member Data Documentation

bool faudes::MergeStateSplit::mIsHead

isHead

Definition at line 265 of file pd_merge.h.

Idx faudes::MergeStateSplit::mState

the contained state

Definition at line 261 of file pd_merge.h.

Idx faudes::MergeStateSplit::mSymbol

the stack symbol

Definition at line 263 of file pd_merge.h.


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

libFAUDES 2.26g --- 2015.08.17 --- c++ api documentaion by doxygen