#include <Util.h>
point Util::extractMapLocation |
( |
std::string |
s | ) |
|
|
static |
Extract the map location message from a string.
- Parameters
-
- Returns
- the map location
- Note
- input string must statistify "1/74/201623848.112/Car2"
int Util::extractMapResult |
( |
std::string |
s | ) |
|
|
static |
Extract the map status message from a string.
- Parameters
-
- Returns
- the map status
- Note
- input string must statistify "1/74/201623848.112/Car2"
the only way to get access to the car
If car pointer is NULL, new one
- Returns
- the reference of the car
string Util::int2string |
( |
int |
i | ) |
|
|
static |
convert int to string
- Parameters
-
- Returns
- string result
Car & Util::newCar |
( |
std::string |
s | ) |
|
|
static |
always to construct a new car with its name
- Parameters
-
- Returns
- the reference of the new car
The documentation for this class was generated from the following files: