Lines Matching refs:string
108 static inline bool fromString(const std::string &str, T &result)
115 if (str.find_first_of(std::string("\r\n\t\v ")) != std::string::npos) {
122 if (str.find("-") != std::string::npos
146 static inline bool toString(const T &value, std::string &str)
164 class Converter<std::string, dstType>
167 static inline bool run(const std::string &str, dstType &result)
174 class Converter<srcType, std::string>
177 static inline bool run(const srcType &str, std::string &result)
234 inline bool convertTo<std::string, int16_t>(const std::string &str, int16_t &result)
238 if (!convertTo<std::string, int64_t>(str, res)) {
266 inline bool convertTo<std::string, float>(const std::string &str, float &result)
268 if (!details::Converter<std::string, float>::run(str, result)) {
296 inline bool convertTo<std::string, double>(const std::string &str, double &result)
298 if (!details::Converter<std::string, double>::run(str, result)) {
328 inline bool convertTo<std::string, bool>(const std::string &str, bool &result)
356 inline bool convertTo<bool, std::string>(const bool &isSet, std::string &result)
375 inline bool convertTo<std::string, std::string>(const std::string &str, std::string &result)