MCPcopy Create free account
hub / github.com/Kitware/CMake / writeString

Function writeString

Utilities/cmjsoncpp/src/lib_json/json_writer.cpp:1250–1255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1248}
1249
1250String writeString(StreamWriter::Factory const& factory, Value const& root) {
1251 OStringStream sout;
1252 StreamWriterPtr const writer(factory.newStreamWriter());
1253 writer->write(root, &sout);
1254 return std::move(sout).str();
1255}
1256
1257OStream& operator<<(OStream& sout, Value const& root) {
1258 StreamWriterBuilder builder;

Callers 6

toStyledStringMethod · 0.85
dumpMethod · 0.85
PrintCommandTraceMethod · 0.85
WriteJsonFunction · 0.85
SaveToFileMethod · 0.85

Calls 4

moveFunction · 0.85
newStreamWriterMethod · 0.80
strMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…