Go to the documentation of this file.
60 [[nodiscard]]
bool toDouble(
const std::string&
string,
double& value);
74 [[nodiscard]]
bool toFloat(
const std::string&
string,
float& value);
89 [[nodiscard]]
bool toInt32(
const std::string&
string, int32_t& value, int32_t base = 10);
104 [[nodiscard]]
bool toUInt32(
const std::string&
string, uint32_t& value, int32_t base = 10);
118 [[nodiscard]] int8_t
toInt8(
const std::string&
string, int8_t& value, int32_t base = 10);
132 [[nodiscard]] uint8_t
toUInt8(
const std::string&
string, uint8_t& value, int32_t base = 10);
bool toInt32(const std::string &string, int32_t &value, int32_t base=10)
Interprets the contents of "string" as a floating point number of whatever integer type your system h...
bool toDouble(const std::string &string, double &value)
Interprets the contents of "string" as a floating point number of type double It stores the "string"'...
std::string trimDecimalPlaces(double num)
Trims decimal places to three.
uint8_t toUInt8(const std::string &string, uint8_t &value, int32_t base=10)
Interprets the contents of "string" as a floating point number of whatever unsigned integer type your...
bool toUInt32(const std::string &string, uint32_t &value, int32_t base=10)
Interprets the contents of "string" as a floating point number of whatever unsigned integer type your...
bool containsSpace(const std::string str)
Checks if a string contains spaces.
int8_t toInt8(const std::string &string, int8_t &value, int32_t base=10)
Interprets the contents of "string" as a floating point number of whatever integer type your system h...
bool toFloat(const std::string &string, float &value)
Interprets the contents of "string" as a floating point number of type float.