![]() |
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 | BasicAction { ACCEPT , CANCEL , RESET , ABORT , NONE } |
enum class | ExtendedAction { DIRECTORY , FILENAME , NONE } |
BasicAction | myBasicAction = BasicAction::NONE |
basic action | |
ExtendedAction | myExtendedAction = ExtendedAction::NONE |
extended action | |
std::string | myCustomAction |
action to be carried out in the dialog | |
DialogArgument (BasicAction basicAction) | |
constructor for basic actions | |
DialogArgument (ExtendedAction extendedAction, const std::string &customAction) | |
constructor for basic actions | |
DialogArgument (const std::string &customAction) | |
constructor for custom actions | |
DialogArgument (const std::string &prefixToRemove, const std::string &customAction) | |
constructor for custom actions and prefix to remove in the action | |
BasicAction | getBasicAction () const |
get basic action | |
ExtendedAction | getExtendedAction () const |
get extended action | |
const std::string & | getCustomAction () const |
get custom action | |
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 47 of file InternalTestStep.h.
|
strong |
Enumerator | |
---|---|
ACCEPT | |
CANCEL | |
RESET | |
ABORT | |
NONE |
Definition at line 51 of file InternalTestStep.h.
Enumerator | |
---|---|
DIRECTORY | |
FILENAME | |
NONE |
Definition at line 60 of file InternalTestStep.h.
InternalTestStep::DialogArgument::DialogArgument | ( | BasicAction | basicAction | ) |
constructor for basic actions
Definition at line 47 of file InternalTestStep.cpp.
InternalTestStep::DialogArgument::DialogArgument | ( | ExtendedAction | extendedAction, |
const std::string & | customAction | ||
) |
constructor for basic actions
Definition at line 52 of file InternalTestStep.cpp.
InternalTestStep::DialogArgument::DialogArgument | ( | const std::string & | customAction | ) |
constructor for custom actions
Definition at line 59 of file InternalTestStep.cpp.
InternalTestStep::DialogArgument::DialogArgument | ( | const std::string & | prefixToRemove, |
const std::string & | customAction | ||
) |
constructor for custom actions and prefix to remove in the action
Definition at line 64 of file InternalTestStep.cpp.
References myCustomAction.
|
privatedelete |
invalidated default constructor
|
privatedelete |
invalidated copy constructor
InternalTestStep::DialogArgument::BasicAction InternalTestStep::DialogArgument::getBasicAction | ( | ) | const |
get basic action
Definition at line 77 of file InternalTestStep.cpp.
Referenced by GNEVClassesDialog::runInternalTest().
const std::string & InternalTestStep::DialogArgument::getCustomAction | ( | ) | const |
get custom action
Definition at line 89 of file InternalTestStep.cpp.
Referenced by GNEFixElementsDialog< T >::runInternalTest(), GNEColorDialog::runInternalTest(), and GNEVClassesDialog::runInternalTest().
InternalTestStep::DialogArgument::ExtendedAction InternalTestStep::DialogArgument::getExtendedAction | ( | ) | const |
get extended action
Definition at line 83 of file InternalTestStep.cpp.
|
protected |
basic action
Definition at line 89 of file InternalTestStep.h.
|
protected |
action to be carried out in the dialog
Definition at line 95 of file InternalTestStep.h.
Referenced by DialogArgument().
|
protected |
extended action
Definition at line 92 of file InternalTestStep.h.