Eclipse SUMO - Simulation of Urban MObility
GNEPythonToolDialogElements::BoolArgument Class Reference

bool argument More...

#include <GNEPythonToolDialogElements.h>

Inheritance diagram for GNEPythonToolDialogElements::BoolArgument:
[legend]
Collaboration diagram for GNEPythonToolDialogElements::BoolArgument:
[legend]

Public Member Functions

 BoolArgument (GNEPythonToolDialog *toolDialogParent, FXVerticalFrame *argumentFrame, const std::string name, Option *option)
 constructor More...
 
const std::string getArgument () const
 get argument More...
 
MFXLabelTooltipgetParameterLabel () const
 get parameter label More...
 
long onCmdSetValue (FXObject *, FXSelector, void *)
 Called when user set bool value. More...
 
bool requiredAttributeSet () const
 check if required attribute is set More...
 
void reset ()
 reset to default value More...
 
FOX-callbacks
long onCmdResetValue (FXObject *, FXSelector, void *)
 Called when user press reset button. More...
 
long onUpdResetValue (FXObject *, FXSelector, void *)
 Called when user press reset button. More...
 

Protected Member Functions

const std::string getValue () const
 get value More...
 

Protected Attributes

FXCheckButton * myCheckButton = nullptr
 check button More...
 
const std::string myDefaultValue
 default value More...
 
FXHorizontalFrame * myElementsFrame = nullptr
 auxiliar elements frame More...
 
OptionmyOption
 option More...
 
GNEPythonToolDialogmyToolDialogParent
 tool dialog parent More...
 

Private Member Functions

 BoolArgument (const IntArgument &)=delete
 Invalidated copy constructor. More...
 
BoolArgumentoperator= (const IntArgument &)=delete
 Invalidated assignment operator. More...
 

Private Attributes

MFXLabelTooltipmyParameterLabel = nullptr
 parameter label More...
 
FXButton * myResetButton = nullptr
 reset button More...
 

Detailed Description

bool argument

Definition at line 503 of file GNEPythonToolDialogElements.h.

Constructor & Destructor Documentation

◆ BoolArgument() [1/2]

GNEPythonToolDialogElements::BoolArgument::BoolArgument ( GNEPythonToolDialog toolDialogParent,
FXVerticalFrame *  argumentFrame,
const std::string  name,
Option option 
)

◆ BoolArgument() [2/2]

GNEPythonToolDialogElements::BoolArgument::BoolArgument ( const IntArgument )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ getArgument()

const std::string GNEPythonToolDialogElements::Argument::getArgument ( ) const
inherited

get argument

Definition at line 154 of file GNEPythonToolDialogElements.cpp.

◆ getParameterLabel()

MFXLabelTooltip * GNEPythonToolDialogElements::Argument::getParameterLabel ( ) const
inherited

get parameter label

Definition at line 148 of file GNEPythonToolDialogElements.cpp.

◆ getValue()

const std::string GNEPythonToolDialogElements::BoolArgument::getValue ( ) const
protectedvirtual

get value

Implements GNEPythonToolDialogElements::Argument.

Definition at line 777 of file GNEPythonToolDialogElements.cpp.

◆ onCmdResetValue()

long GNEPythonToolDialogElements::Argument::onCmdResetValue ( FXObject *  ,
FXSelector  ,
void *   
)
inherited

Called when user press reset button.

Definition at line 174 of file GNEPythonToolDialogElements.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetValue()

long GNEPythonToolDialogElements::BoolArgument::onCmdSetValue ( FXObject *  ,
FXSelector  ,
void *   
)
virtual

Called when user set bool value.

Implements GNEPythonToolDialogElements::Argument.

Definition at line 757 of file GNEPythonToolDialogElements.cpp.

References TL.

◆ onUpdResetValue()

long GNEPythonToolDialogElements::Argument::onUpdResetValue ( FXObject *  ,
FXSelector  ,
void *   
)
inherited

Called when user press reset button.

Definition at line 182 of file GNEPythonToolDialogElements.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ operator=()

BoolArgument& GNEPythonToolDialogElements::BoolArgument::operator= ( const IntArgument )
privatedelete

Invalidated assignment operator.

◆ requiredAttributeSet()

bool GNEPythonToolDialogElements::Argument::requiredAttributeSet ( ) const
inherited

check if required attribute is set

Definition at line 164 of file GNEPythonToolDialogElements.cpp.

◆ reset()

void GNEPythonToolDialogElements::BoolArgument::reset ( )
virtual

reset to default value

Implements GNEPythonToolDialogElements::Argument.

Definition at line 743 of file GNEPythonToolDialogElements.cpp.

References TL.

Field Documentation

◆ myCheckButton

FXCheckButton* GNEPythonToolDialogElements::BoolArgument::myCheckButton = nullptr
protected

check button

Definition at line 520 of file GNEPythonToolDialogElements.h.

Referenced by BoolArgument().

◆ myDefaultValue

const std::string GNEPythonToolDialogElements::Argument::myDefaultValue
protectedinherited

default value

Definition at line 114 of file GNEPythonToolDialogElements.h.

◆ myElementsFrame

◆ myOption

Option* GNEPythonToolDialogElements::Argument::myOption
protectedinherited

option

Definition at line 111 of file GNEPythonToolDialogElements.h.

◆ myParameterLabel

MFXLabelTooltip* GNEPythonToolDialogElements::Argument::myParameterLabel = nullptr
privateinherited

parameter label

Definition at line 121 of file GNEPythonToolDialogElements.h.

Referenced by GNEPythonToolDialogElements::Argument::Argument().

◆ myResetButton

FXButton* GNEPythonToolDialogElements::Argument::myResetButton = nullptr
privateinherited

reset button

Definition at line 124 of file GNEPythonToolDialogElements.h.

Referenced by GNEPythonToolDialogElements::Argument::Argument().

◆ myToolDialogParent

GNEPythonToolDialog* GNEPythonToolDialogElements::Argument::myToolDialogParent
protectedinherited

tool dialog parent

Definition at line 108 of file GNEPythonToolDialogElements.h.


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