#include <algorithms.h>
Inheritance diagram for BasicAlgorithmWithSettings:
Collaboration diagram for BasicAlgorithmWithSettings:Public Member Functions | |
| BasicAlgorithmWithSettings (bool preserveNames=false, bool preserveLabels=false) | |
| bool | hasSettingsDialog () const |
| void | runSettingsDialog (QWidget *parent) |
algorithm's settings | |
| bool | preserveNames () const |
| bool | preserveLabels () const |
| void | setPreserveNames (bool preserve) |
| void | setPreserveLabels (bool preserve) |
Protected Member Functions | |
| QString | chooseStateLabel (const QStringList &labelList, int num) const |
| QString | chooseStateName (QSharedPointer< IAutomaton > &automaton, const QStringList &nameList, int num) const |
Private Attributes | |
| bool | m_preserveLabels |
| bool | m_preserveNames |
Definition at line 63 of file algorithms.h.
| BasicAlgorithmWithSettings::BasicAlgorithmWithSettings | ( | bool | preserveNames = false, |
|
| bool | preserveLabels = false | |||
| ) |
Definition at line 256 of file algorithms.cpp.
| QString BasicAlgorithmWithSettings::chooseStateLabel | ( | const QStringList & | labelList, | |
| int | num | |||
| ) | const [protected] |
Definition at line 285 of file algorithms.cpp.
References preserveLabels().
Referenced by IntersectionParallelAlgorithm::runInternal(), UniteParallelAlgorithm::runInternal(), and DeterminizeAlgorithm::runInternal().
Here is the call graph for this function:
Here is the caller graph for this function:| QString BasicAlgorithmWithSettings::chooseStateName | ( | QSharedPointer< IAutomaton > & | automaton, | |
| const QStringList & | nameList, | |||
| int | num | |||
| ) | const [protected] |
Definition at line 272 of file algorithms.cpp.
References BasicAlgorithm::makeSureNameUnique(), and preserveNames().
Referenced by IntersectionParallelAlgorithm::runInternal(), UniteParallelAlgorithm::runInternal(), and DeterminizeAlgorithm::runInternal().
Here is the call graph for this function:
Here is the caller graph for this function:| bool BasicAlgorithmWithSettings::hasSettingsDialog | ( | ) | const [inline, virtual] |
Reimplemented from BasicAlgorithm.
Definition at line 68 of file algorithms.h.
| bool BasicAlgorithmWithSettings::preserveLabels | ( | ) | const [inline] |
Definition at line 74 of file algorithms.h.
References m_preserveLabels.
Referenced by chooseStateLabel(), and SettingsDialog::SettingsDialog().
Here is the caller graph for this function:| bool BasicAlgorithmWithSettings::preserveNames | ( | ) | const [inline] |
Definition at line 73 of file algorithms.h.
References m_preserveNames.
Referenced by chooseStateName(), and SettingsDialog::SettingsDialog().
Here is the caller graph for this function:| void BasicAlgorithmWithSettings::runSettingsDialog | ( | QWidget * | parent | ) | [virtual] |
Reimplemented from BasicAlgorithm.
Definition at line 260 of file algorithms.cpp.
References SettingsDialog::preserveLabels(), SettingsDialog::preserveNames(), setPreserveLabels(), and setPreserveNames().
Here is the call graph for this function:| void BasicAlgorithmWithSettings::setPreserveLabels | ( | bool | preserve | ) | [inline] |
Definition at line 76 of file algorithms.h.
References m_preserveLabels.
Referenced by runSettingsDialog().
Here is the caller graph for this function:| void BasicAlgorithmWithSettings::setPreserveNames | ( | bool | preserve | ) | [inline] |
Definition at line 75 of file algorithms.h.
References m_preserveNames.
Referenced by runSettingsDialog().
Here is the caller graph for this function:bool BasicAlgorithmWithSettings::m_preserveLabels [private] |
Definition at line 86 of file algorithms.h.
Referenced by preserveLabels(), and setPreserveLabels().
bool BasicAlgorithmWithSettings::m_preserveNames [private] |
Definition at line 85 of file algorithms.h.
Referenced by preserveNames(), and setPreserveNames().
1.7.0