#include <automataCreator.h>
Public Types | |
typedef QList< QSharedPointer < TransitionImpl > > | TTransitionList |
Public Member Functions | |
TransitionImpl (const QString &source, const QString &destination, const ITransition::TCharSet characters, Transition *graphicsTransition=NULL) | |
~TransitionImpl () | |
ITransition::TCharSet | getCharacters () const |
Returns characters on which transitions passes. | |
QString | getDestinationState () const |
Transition * | getGraphicsTransition () |
QString | getSourceState () const |
bool | passOn (const QString &character) const |
void | setCharacters (const ITransition::TCharSet &characters) |
void | setDestinationState (const QString &stateName) |
void | setSourceState (const QString &stateName) |
Protected Attributes | |
ITransition::TCharSet | m_characters |
QString | m_destinationState |
Transition * | m_graphicsTransition |
QString | m_sourceState |
Definition at line 14 of file automataCreator.h.
typedef QList<QSharedPointer<TransitionImpl> > TransitionImpl::TTransitionList |
Definition at line 20 of file automataCreator.h.
TransitionImpl::TransitionImpl | ( | const QString & | source, | |
const QString & | destination, | |||
const ITransition::TCharSet | characters, | |||
Transition * | graphicsTransition = NULL | |||
) |
Definition at line 258 of file automataCreator.cpp.
TransitionImpl::~TransitionImpl | ( | ) |
Definition at line 265 of file automataCreator.cpp.
References DBGLOG_AC, DBGPAR, m_characters, m_destinationState, and m_sourceState.
ITransition::TCharSet TransitionImpl::getCharacters | ( | ) | const [virtual] |
Returns characters on which transitions passes.
Implements ITransition.
Definition at line 296 of file automataCreator.cpp.
References m_characters.
QString TransitionImpl::getDestinationState | ( | ) | const [virtual] |
Implements ITransition.
Definition at line 286 of file automataCreator.cpp.
References m_destinationState.
Transition * TransitionImpl::getGraphicsTransition | ( | ) |
Definition at line 306 of file automataCreator.cpp.
References m_graphicsTransition.
QString TransitionImpl::getSourceState | ( | ) | const [virtual] |
Implements ITransition.
Definition at line 281 of file automataCreator.cpp.
References m_sourceState.
bool TransitionImpl::passOn | ( | const QString & | character | ) | const [virtual] |
Implements ITransition.
Definition at line 291 of file automataCreator.cpp.
References m_characters.
void TransitionImpl::setCharacters | ( | const ITransition::TCharSet & | characters | ) |
Definition at line 301 of file automataCreator.cpp.
References m_characters.
void TransitionImpl::setDestinationState | ( | const QString & | stateName | ) | [virtual] |
Implements ITransition.
Definition at line 276 of file automataCreator.cpp.
References m_destinationState.
void TransitionImpl::setSourceState | ( | const QString & | stateName | ) | [virtual] |
Implements ITransition.
Definition at line 271 of file automataCreator.cpp.
References m_sourceState.
ITransition::TCharSet TransitionImpl::m_characters [protected] |
Definition at line 45 of file automataCreator.h.
Referenced by getCharacters(), passOn(), setCharacters(), and ~TransitionImpl().
QString TransitionImpl::m_destinationState [protected] |
Definition at line 43 of file automataCreator.h.
Referenced by getDestinationState(), setDestinationState(), and ~TransitionImpl().
Transition* TransitionImpl::m_graphicsTransition [protected] |
Definition at line 46 of file automataCreator.h.
Referenced by getGraphicsTransition().
QString TransitionImpl::m_sourceState [protected] |
Definition at line 42 of file automataCreator.h.
Referenced by getSourceState(), setSourceState(), and ~TransitionImpl().