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 _str2double (const std::string &data)
 check if a String can be parsed into a double check overflows More...
 
static bool _str2int (const std::string &data)
 check if a String can be parsed into a int 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 43 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 90 of file TplCheck.h.

◆ _str2double()

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

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

Definition at line 66 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 47 of file TplCheck.h.

Referenced by GUIMainWindow::setWindowSizeAndPos().

◆ _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 103 of file TplCheck.h.


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