SUMO - Simulation of Urban MObility
GNEDialog_Wizard::InputBool Class Reference

#include <GNEDialog_Wizard.h>

Inheritance diagram for GNEDialog_Wizard::InputBool:
Inheritance graph
Collaboration diagram for GNEDialog_Wizard::InputBool:
Collaboration graph

Public Member Functions

 InputBool (FXComposite *parent, const std::string &name)
 FOX-declaration. More...
 
long onCmdSetOption (FXObject *, FXSelector, void *)
 try to set new attribute value More...
 

Protected Member Functions

 InputBool ()
 FOX needs this. More...
 

Private Attributes

FXMenuCheck * myCheck
 menu check More...
 
std::string myName
 name More...
 

Detailed Description

Definition at line 83 of file GNEDialog_Wizard.h.

Constructor & Destructor Documentation

◆ InputBool() [1/2]

GNEDialog_Wizard::InputBool::InputBool ( FXComposite *  parent,
const std::string &  name 
)

FOX-declaration.

constructor

Definition at line 129 of file GNEDialog_Wizard.cpp.

References OptionsCont::getBool(), OptionsCont::getOptions(), MID_GNE_SET_ATTRIBUTE, and myCheck.

◆ InputBool() [2/2]

GNEDialog_Wizard::InputBool::InputBool ( )
inlineprotected

FOX needs this.

Definition at line 96 of file GNEDialog_Wizard.h.

Member Function Documentation

◆ onCmdSetOption()

long GNEDialog_Wizard::InputBool::onCmdSetOption ( FXObject *  ,
FXSelector  ,
void *   
)

try to set new attribute value

Definition at line 140 of file GNEDialog_Wizard.cpp.

References OptionsCont::getOptions(), myCheck, myName, OptionsCont::resetWritable(), and OptionsCont::set().

Field Documentation

◆ myCheck

FXMenuCheck* GNEDialog_Wizard::InputBool::myCheck
private

menu check

Definition at line 102 of file GNEDialog_Wizard.h.

Referenced by InputBool(), and onCmdSetOption().

◆ myName

std::string GNEDialog_Wizard::InputBool::myName
private

name

Definition at line 100 of file GNEDialog_Wizard.h.

Referenced by onCmdSetOption().


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