Function novatel_gps_driver::ParseInt32(const std::string&, int32_t&, int32_t)
Defined in File parsing_utils.h
Function Documentation
-
bool novatel_gps_driver::ParseInt32(const std::string &string, int32_t &value, int32_t base = 10)
Parses a string containing an integer number into an int32_t.
- Parameters:
string – The string to read, i.e. “5”
value – An int32_t representing the value from the strong.
base – The numerical base of the integer in the string.
- Returns:
False if the format of the string was not recognized.