![]() |
Eclipse SUMO - Simulation of Urban MObility
|
dialog arguments, used for certain modal dialogs that can not be edited using tab More...
#include <InternalTestStep.h>
basic actions | |
| enum class | Action { ACCEPT , CANCEL , RESET , ABORT , CUSTOM , NONE } |
| DialogType | myType = DialogType::DEFAULT |
| dialog type | |
| Action | myAction = Action::NONE |
| basic action | |
| std::string | myCustomAction |
| action to be carried out in the dialog | |
| int | myIndex = 0 |
| index | |
| DialogArgument (DialogType type, Action action) | |
| constructor for basic actions | |
| DialogArgument (DialogType type, const std::string &customAction) | |
| constructor for basic actions | |
| DialogArgument (DialogType type, const std::string &customAction, const int index) | |
| constructor for basic actions and index | |
| DialogArgument (DialogType type, const std::string &prefixToRemove, const std::string &customAction) | |
| constructor for custom actions and prefix to remove in the action | |
| DialogType | getType () const |
| get type | |
| Action | getAction () const |
| get basic action | |
| const std::string & | getCustomAction () const |
| get custom action | |
| int | getIndex () const |
| get index | |
| DialogArgument ()=delete | |
| invalidated default constructor | |
| DialogArgument (const DialogArgument &)=delete | |
| invalidated copy constructor | |
dialog arguments, used for certain modal dialogs that can not be edited using tab
Definition at line 48 of file InternalTestStep.h.
|
strong |
| Enumerator | |
|---|---|
| ACCEPT | |
| CANCEL | |
| RESET | |
| ABORT | |
| CUSTOM | |
| NONE | |
Definition at line 52 of file InternalTestStep.h.
| InternalTestStep::DialogArgument::DialogArgument | ( | DialogType | type, |
| Action | action | ||
| ) |
constructor for basic actions
Definition at line 47 of file InternalTestStep.cpp.
| InternalTestStep::DialogArgument::DialogArgument | ( | DialogType | type, |
| const std::string & | customAction | ||
| ) |
constructor for basic actions
Definition at line 53 of file InternalTestStep.cpp.
| InternalTestStep::DialogArgument::DialogArgument | ( | DialogType | type, |
| const std::string & | customAction, | ||
| const int | index | ||
| ) |
constructor for basic actions and index
Definition at line 60 of file InternalTestStep.cpp.
| InternalTestStep::DialogArgument::DialogArgument | ( | DialogType | type, |
| const std::string & | prefixToRemove, | ||
| const std::string & | customAction | ||
| ) |
constructor for custom actions and prefix to remove in the action
Definition at line 68 of file InternalTestStep.cpp.
References myCustomAction.
|
privatedelete |
invalidated default constructor
|
privatedelete |
invalidated copy constructor
| InternalTestStep::DialogArgument::Action InternalTestStep::DialogArgument::getAction | ( | ) | const |
get basic action
Definition at line 89 of file InternalTestStep.cpp.
| const std::string & InternalTestStep::DialogArgument::getCustomAction | ( | ) | const |
get custom action
Definition at line 95 of file InternalTestStep.cpp.
Referenced by GNEOverwriteElement::runInternalTest(), GNEFileDialog::runInternalTest(), GNEFixElementsDialog< T >::runInternalTest(), GNEColorDialog::runInternalTest(), and GNEVClassesDialog::runInternalTest().
| int InternalTestStep::DialogArgument::getIndex | ( | ) | const |
get index
Definition at line 101 of file InternalTestStep.cpp.
Referenced by GNEFileDialog::runInternalTest().
| DialogType InternalTestStep::DialogArgument::getType | ( | ) | const |
get type
Definition at line 83 of file InternalTestStep.cpp.
|
protected |
basic action
Definition at line 90 of file InternalTestStep.h.
|
protected |
action to be carried out in the dialog
Definition at line 93 of file InternalTestStep.h.
Referenced by DialogArgument().
|
protected |
index
Definition at line 96 of file InternalTestStep.h.
|
protected |
dialog type
Definition at line 87 of file InternalTestStep.h.