11 bool ReadInputLine(FILE *fi, std::string &line);
12 void SplitLine(
const std::string &line, std::vector<std::string> &args,
const std::string &separatorChars =
" \t",
13 const std::string "eChars =
"\"'",
const std::string &commentStartChars =
"#",
14 bool ignoreZeroLengthFields =
true);
16 std::string createFullPath(
const std::string &dir,
const std::string &file);
18 void abortWithMessage(
const std::string &msg);
20 bool parseAsInt(
const std::string &str,
int &number);
21 bool parseAsInt(
const std::string &str, int64_t &number);
22 bool parseAsDouble(
const std::string &str,
double &number);
23 std::string doubleToString(
double x);
25 std::string trim(
const std::string &str,
const std::string &trimChars =
" \t\r\n");
26 std::string replace(
const std::string &input,
const std::string &target,
const std::string &replacement);