MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / ShowWideCStringQuoted

Method ShowWideCStringQuoted

rtpose_wrapper/src/gtest/gtest-all.cpp:2841–2846  ·  view source on GitHub ↗

Similar to ShowWideCString(), except that this function encloses the converted string in double quotes.

Source from the content-addressed store, hash-verified

2839// Similar to ShowWideCString(), except that this function encloses
2840// the converted string in double quotes.
2841String String::ShowWideCStringQuoted(const wchar_t* wide_c_str) {
2842 if (wide_c_str == NULL) return String("(null)");
2843
2844 return String::Format("L\"%s\"",
2845 String::ShowWideCString(wide_c_str).c_str());
2846}
2847
2848// Compares two wide C strings. Returns true iff they have the same
2849// content.

Callers

nothing calls this directly

Calls 2

FormatClass · 0.85
StringFunction · 0.70

Tested by

no test coverage detected