19#ifndef STRINGTOOLS_HPP
20#define STRINGTOOLS_HPP
69std::string
toString(
double dNumber,
int nPrecision = 7);
70std::string
toString(
const std::complex<double>& dNumber,
int nPrecision = 7);
72std::string
toString(__time64_t tTime,
int timeStampFlags);
74std::string
toString(
long long int nNumber);
77std::string
toCmdString(
const std::complex<double>& dNumber);
91std::string
toString(
const std::vector<T>& vVector)
95 for (
size_t i = 0; i < vVector.size(); i++)
97 sString +=
toString(vVector[i]) +
",";
103 sString.back() =
'}';
105 return "{" + sString;
108std::vector<std::string>
toStrVector(std::string sString);
111std::string
truncString(
const std::string& sText,
size_t nMaxChars);
113std::string
wcstombs(
const std::wstring& wStr);
119std::string
toLowerCase(
const std::string& sUpperCase);
120std::string
toUpperCase(
const std::string& sLowerCase);
122double StrToDb(
const std::string&);
124std::complex<double>
StrToCmplx(
const std::string&);
135void replaceAll(std::string& sToModify,
const std::string& sToRep,
const std::string& sNewValue,
size_t nStart = 0,
size_t nEnd = std::string::npos);
136void replaceAll(std::string& sToModify,
const char* sToRep,
const char* sNewValue,
size_t nStart = 0,
size_t nEnd = std::string::npos);
138std::string
utf8parser(
const std::string& sString);
142std::vector<std::string>
split(
const std::string& sStr,
char cSplit);
143std::string
ellipsize(
const std::string& sLongString,
size_t nMaxStringLength = 1024);
This class manages the setting values of the internal (kernel) settings of this application.
This class is the immutable (const) version of a string view. It can be constructed from a MutableStr...