Function novatel_gps_driver::ParseUInt32(const std::string&, uint32_t&, int32_t)

Function Documentation

bool novatel_gps_driver::ParseUInt32(const std::string &string, uint32_t &value, int32_t base = 10)

Parses a string containing an integer number into a uint32_t.

Parameters:
  • string – The string to read, i.e. “5”

  • value – A uint32_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.