Lines Matching defs:str
21 std::string StringHelper::StringToUtf8(const std::string& str)
24 int nwLen = ::MultiByteToWideChar(CP_ACP, 0, str.c_str(), -1, NULL, 0);
27 return str;
32 return str;
35 ::MultiByteToWideChar(CP_ACP, 0, str.c_str(), str.length(), pwBuf, nwLen);
40 return str;
45 return str;
57 std::string StringHelper::Utf8ToString(const std::string& str)
60 int nwLen = MultiByteToWideChar(CP_UTF8, 0, str.c_str(), -1, NULL, 0);
63 return str;
68 return str;
74 return str;
76 MultiByteToWideChar(CP_UTF8, 0, str.c_str(), str.length(), pwBuf, nwLen);
81 return str;
86 return str;
91 return str;