SUMO - Simulation of Urban MObility
|
FOX-declaration. More...
#include <GNEAdditionalFrame.h>
Public Member Functions | |
additionalParameter (FXComposite *parent, FXObject *tgt) | |
constructor More... | |
SumoXMLAttr | getAttr () const |
return Attr More... | |
std::string | getValue () const |
return value More... | |
void | hideParameter () |
hide all parameters More... | |
void | showParameter (SumoXMLAttr attr, std::string value) |
show name and value of attribute of type string More... | |
void | showParameter (SumoXMLAttr attr, int value) |
show name and value of parameters of type int More... | |
void | showParameter (SumoXMLAttr attr, SUMOReal value) |
show name and value of parameters of type float/real More... | |
void | showParameter (SumoXMLAttr attr, bool value) |
show name and value of parameters of type bool More... | |
~additionalParameter () | |
destructor More... | |
Private Attributes | |
SumoXMLAttr | myAttr |
XML attribute. More... | |
FXLabel * | myLabel |
lael with the name of the parameter More... | |
FXMenuCheck * | myMenuCheck |
menuCheck to enable/disable the value of parameter More... | |
FXTextField * | myTextField |
textField to modify the value of parameter More... | |
FOX-declaration.
Definition at line 60 of file GNEAdditionalFrame.h.
GNEAdditionalFrame::additionalParameter::additionalParameter | ( | FXComposite * | parent, |
FXObject * | tgt | ||
) |
constructor
Definition at line 533 of file GNEAdditionalFrame.cpp.
References hideParameter(), MID_GNE_MODE_ADDITIONAL_CHANGEPARAMETER_BOOL, MID_GNE_MODE_ADDITIONAL_CHANGEPARAMETER_TEXT, myLabel, myMenuCheck, and myTextField.
GNEAdditionalFrame::additionalParameter::~additionalParameter | ( | ) |
destructor
Definition at line 547 of file GNEAdditionalFrame.cpp.
SumoXMLAttr GNEAdditionalFrame::additionalParameter::getAttr | ( | ) | const |
return Attr
Definition at line 605 of file GNEAdditionalFrame.cpp.
std::string GNEAdditionalFrame::additionalParameter::getValue | ( | ) | const |
return value
Definition at line 611 of file GNEAdditionalFrame.cpp.
References GNEAttributeCarrier::isBool().
void GNEAdditionalFrame::additionalParameter::hideParameter | ( | ) |
hide all parameters
Definition at line 595 of file GNEAdditionalFrame.cpp.
References GNEAdditionalFrame::hide(), and SUMO_ATTR_NOTHING.
Referenced by additionalParameter().
void GNEAdditionalFrame::additionalParameter::showParameter | ( | SumoXMLAttr | attr, |
std::string | value | ||
) |
show name and value of attribute of type string
Definition at line 551 of file GNEAdditionalFrame.cpp.
References GNEAdditionalFrame::show(), and toString().
void GNEAdditionalFrame::additionalParameter::showParameter | ( | SumoXMLAttr | attr, |
int | value | ||
) |
show name and value of parameters of type int
Definition at line 562 of file GNEAdditionalFrame.cpp.
References GNEAdditionalFrame::show(), and toString().
void GNEAdditionalFrame::additionalParameter::showParameter | ( | SumoXMLAttr | attr, |
SUMOReal | value | ||
) |
show name and value of parameters of type float/real
Definition at line 573 of file GNEAdditionalFrame.cpp.
References GNEAdditionalFrame::show(), and toString().
void GNEAdditionalFrame::additionalParameter::showParameter | ( | SumoXMLAttr | attr, |
bool | value | ||
) |
show name and value of parameters of type bool
Definition at line 584 of file GNEAdditionalFrame.cpp.
References GNEAdditionalFrame::show(), and toString().
|
private |
XML attribute.
Definition at line 92 of file GNEAdditionalFrame.h.
|
private |
lael with the name of the parameter
Definition at line 95 of file GNEAdditionalFrame.h.
Referenced by additionalParameter().
|
private |
menuCheck to enable/disable the value of parameter
Definition at line 101 of file GNEAdditionalFrame.h.
Referenced by additionalParameter().
|
private |
textField to modify the value of parameter
Definition at line 98 of file GNEAdditionalFrame.h.
Referenced by additionalParameter().