8 #ifndef CT_STRINGUTILS_H
9 #define CT_STRINGUTILS_H
29 std::string
fp2str(
const double x,
const std::string& fmt);
38 std::string
fp2str(
const double x);
45 std::string
int2str(
const int n,
const std::string& fmt);
51 std::string
int2str(
const int n);
57 std::string
int2str(
const size_t n);
69 std::string
stripws(
const std::string& s);
85 std::string
lowercase(
const std::string& s);
119 void split(
const std::string& ss, std::vector<std::string>& w);
130 const char delim =
' ');
142 std::string
logfileName(
const std::string& infile);
152 std::string
getBaseName(
const std::string& fullPath);
174 doublereal
fpValue(std::string val);
200 std::string
parseSpeciesName(
const std::string& nameStr, std::string& phaseName);
253 doublereal
atofCheck(
const char*
const dptr);
271 doublereal
strSItoDbl(
const std::string& strSI);
285 std::vector<std::string>& v);