Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
InternalTestStep::DialogArgument Class Reference

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
 

Detailed Description

dialog arguments, used for certain modal dialogs that can not be edited using tab

Definition at line 47 of file InternalTestStep.h.

Member Enumeration Documentation

◆ BasicAction

Enumerator
ACCEPT 
CANCEL 
RESET 
ABORT 
NONE 

Definition at line 51 of file InternalTestStep.h.

◆ ExtendedAction

Enumerator
DIRECTORY 
FILENAME 
NONE 

Definition at line 60 of file InternalTestStep.h.

Constructor & Destructor Documentation

◆ DialogArgument() [1/6]

InternalTestStep::DialogArgument::DialogArgument ( BasicAction  basicAction)

constructor for basic actions

Definition at line 47 of file InternalTestStep.cpp.

◆ DialogArgument() [2/6]

InternalTestStep::DialogArgument::DialogArgument ( ExtendedAction  extendedAction,
const std::string &  customAction 
)

constructor for basic actions

Definition at line 52 of file InternalTestStep.cpp.

◆ DialogArgument() [3/6]

InternalTestStep::DialogArgument::DialogArgument ( const std::string &  customAction)

constructor for custom actions

Definition at line 59 of file InternalTestStep.cpp.

◆ DialogArgument() [4/6]

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.

◆ DialogArgument() [5/6]

InternalTestStep::DialogArgument::DialogArgument ( )
privatedelete

invalidated default constructor

◆ DialogArgument() [6/6]

InternalTestStep::DialogArgument::DialogArgument ( const DialogArgument )
privatedelete

invalidated copy constructor

Member Function Documentation

◆ getBasicAction()

InternalTestStep::DialogArgument::BasicAction InternalTestStep::DialogArgument::getBasicAction ( ) const

get basic action

Definition at line 77 of file InternalTestStep.cpp.

Referenced by GNEVClassesDialog::runInternalTest().

Here is the caller graph for this function:

◆ getCustomAction()

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

Here is the caller graph for this function:

◆ getExtendedAction()

InternalTestStep::DialogArgument::ExtendedAction InternalTestStep::DialogArgument::getExtendedAction ( ) const

get extended action

Definition at line 83 of file InternalTestStep.cpp.

Field Documentation

◆ myBasicAction

BasicAction InternalTestStep::DialogArgument::myBasicAction = BasicAction::NONE
protected

basic action

Definition at line 89 of file InternalTestStep.h.

◆ myCustomAction

std::string InternalTestStep::DialogArgument::myCustomAction
protected

action to be carried out in the dialog

Definition at line 95 of file InternalTestStep.h.

Referenced by DialogArgument().

◆ myExtendedAction

ExtendedAction InternalTestStep::DialogArgument::myExtendedAction = ExtendedAction::NONE
protected

extended action

Definition at line 92 of file InternalTestStep.h.


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