SUMO - Simulation of Urban MObility
TplCheck Class Reference

#include <TplCheck.h>

Collaboration diagram for TplCheck:
Collaboration graph

Static Public Member Functions

static bool _str2bool (const std::string &data)
 check if a String can be parsed into a Bool More...
 
static bool _str2int (const std::string &data)
 check if a String can be parsed into a int check overflows More...
 
static bool _str2SUMOReal (const std::string &data)
 check if a String can be parsed into a SUMOReal check overflows More...
 
static bool _str2SUMOTime (const std::string &data)
 check if a String can be parsed into a SUMOTime check overflows More...
 

Detailed Description

TplCheck Some methdos that check if a string can be converted in other data types

Definition at line 44 of file TplCheck.h.

Member Function Documentation

§ _str2bool()

static bool TplCheck::_str2bool ( const std::string &  data)
inlinestatic

check if a String can be parsed into a Bool

Definition at line 91 of file TplCheck.h.

§ _str2int()

static bool TplCheck::_str2int ( const std::string &  data)
inlinestatic

check if a String can be parsed into a int check overflows

Definition at line 48 of file TplCheck.h.

Referenced by GNEApplicationWindow::create(), and GUIApplicationWindow::create().

§ _str2SUMOReal()

static bool TplCheck::_str2SUMOReal ( const std::string &  data)
inlinestatic

check if a String can be parsed into a SUMOReal check overflows

Definition at line 67 of file TplCheck.h.

Referenced by GNECalibratorDialog::onCmdAddRow(), and GNEVariableSpeedSignalDialog::onCmdAddRow().

§ _str2SUMOTime()

static bool TplCheck::_str2SUMOTime ( const std::string &  data)
inlinestatic

check if a String can be parsed into a SUMOTime check overflows

Definition at line 104 of file TplCheck.h.

Referenced by GNEVariableSpeedSignalDialog::onCmdAddRow().


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