MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / fromXMLString

Function fromXMLString

base/poco/XML/src/XMLString.cpp:30–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29
30std::string fromXMLString(const XMLString& str)
31{
32 std::string result;
33 result.reserve(str.size());
34
35 for (auto xc: str)
36 {
37 char c;
38 wctomb(&c, xc);
39 result += c;
40 }
41 return result;
42}
43
44
45XMLString toXMLString(const std::string& str)

Callers 15

nameToStringMethod · 0.85
setFeatureMethod · 0.85
getFeatureMethod · 0.85
setPropertyMethod · 0.85
getPropertyMethod · 0.85
setFeatureMethod · 0.85
getFeatureMethod · 0.85
setPropertyMethod · 0.85
getPropertyMethod · 0.85
parseMethod · 0.85
resolveSystemIdMethod · 0.85

Calls 2

reserveMethod · 0.45
sizeMethod · 0.45

Tested by 1

xmlNodeAsStringFunction · 0.68