84 const std::string&
string,
88 int i =
string.empty() ? 0 : std::stoi(
string);
95 const std::string&
string,
99 float f =
string.empty() ? 0 : std::stof(
string);
106 const std::string&
string,
110 double d =
string.empty() ? 0 : std::stod(
string);
117 const std::string&
string,
121 if (
string ==
"true")
125 else if (
string ==
"false" or
string.
empty())
129 throw armarx::InvalidArgumentException(
"Boolean string has to be either true or false");
135 const std::string&
string,
140 return make_int(
string.
empty() ? 0 : std::stoi(
string), path);
146 const std::string&
string,
150 std::string formatted_string =
"";
151 if (not
string.
empty())
163 const std::string&
string)
const
173 const std::string&
string)
const
183 const std::string&
string)
const
193 const std::string&
string)
const
203 const std::string&
string)
const
213 const std::string&
string)
const