Public Types | Public Member Functions | Protected Attributes

TransitionImpl Class Reference

#include <automataCreator.h>

Inheritance diagram for TransitionImpl:
Collaboration diagram for TransitionImpl:

List of all members.

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
TransitiongetGraphicsTransition ()
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
Transitionm_graphicsTransition
QString m_sourceState

Detailed Description

Definition at line 14 of file automataCreator.h.


Member Typedef Documentation

typedef QList<QSharedPointer<TransitionImpl> > TransitionImpl::TTransitionList

Definition at line 20 of file automataCreator.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

Definition at line 45 of file automataCreator.h.

Referenced by getCharacters(), passOn(), setCharacters(), and ~TransitionImpl().

Definition at line 43 of file automataCreator.h.

Referenced by getDestinationState(), setDestinationState(), and ~TransitionImpl().

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().


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