This is interface for work with automata, defines transitions defined in automaton. More...
#include <itransition.h>
Public Types | |
typedef QSet< QString > | TCharSet |
QString due to something as \varepsilon{}, \gamma{}, etc. | |
typedef QList< QSharedPointer < ITransition > > | TITransitionList |
typedef QSet< QSharedPointer < ITransition > > | TITransitionSet |
Public Member Functions | |
virtual | ~ITransition () |
virtual TCharSet | getCharacters () const =0 |
Returns characters on which transitions passes. | |
virtual QString | getDestinationState () const =0 |
virtual QString | getSourceState () const =0 |
virtual bool | passOn (const QString &character) const =0 |
virtual void | setDestinationState (const QString &stateName)=0 |
virtual void | setSourceState (const QString &stateName)=0 |
This is interface for work with automata, defines transitions defined in automaton.
Definition at line 12 of file itransition.h.
typedef QSet<QString> ITransition::TCharSet |
QString due to something as \varepsilon{}, \gamma{}, etc.
Definition at line 16 of file itransition.h.
typedef QList<QSharedPointer<ITransition> > ITransition::TITransitionList |
Definition at line 18 of file itransition.h.
typedef QSet<QSharedPointer<ITransition> > ITransition::TITransitionSet |
Definition at line 17 of file itransition.h.
virtual ITransition::~ITransition | ( | ) | [inline, virtual] |
Definition at line 20 of file itransition.h.
virtual TCharSet ITransition::getCharacters | ( | ) | const [pure virtual] |
Returns characters on which transitions passes.
Implemented in TransitionImpl.
Referenced by operator==(), and qHash().
virtual QString ITransition::getDestinationState | ( | ) | const [pure virtual] |
Implemented in TransitionImpl.
Referenced by operator==(), and qHash().
virtual QString ITransition::getSourceState | ( | ) | const [pure virtual] |
Implemented in TransitionImpl.
Referenced by operator==(), and qHash().
virtual bool ITransition::passOn | ( | const QString & | character | ) | const [pure virtual] |
Implemented in TransitionImpl.
virtual void ITransition::setDestinationState | ( | const QString & | stateName | ) | [pure virtual] |
Implemented in TransitionImpl.
virtual void ITransition::setSourceState | ( | const QString & | stateName | ) | [pure virtual] |
Implemented in TransitionImpl.