20 #ifndef CONVENIENCE_H_LU7GZ6CB
21 #define CONVENIENCE_H_LU7GZ6CB
29 inline bool isnan(
double x);
32 template <
typename T> std::string toStr(T tmp) {
33 std::ostringstream outSS;
34 outSS.precision(std::numeric_limits<double>::digits10 + 1);
39 template <
typename T> T strTo(std::string tmp) {
41 std::istringstream in(tmp);
48 NumAttr(
const std::string& str);
53 bool isNumeric(
const char* pszInput,
int nNumberBase);
54 bool isInteger(
const char* pszInput,
int nNumberBase);
55 bool iequals(
const std::string& a,
const std::string& b);
56 bool equals(
const std::string& a,
const std::string& b);
57 bool stringIsTrue(
const std::string& value);
58 bool envVarIsTrue(
const char* name);
59 bool envVarIEquals(
const char* name,
const char* value);
61 std::string escape(
const std::string& a);
62 std::string unescape(
const std::string& a);
Definition: Breakpoint.cpp:26
Definition: Convenience.h:46