MCPcopy Create free account
hub / github.com/Kitware/VTK / PrintSelf

Method PrintSelf

IO/GeoJSON/vtkGeoJSONFeature.cxx:604–616  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

602
603//------------------------------------------------------------------------------
604void vtkGeoJSONFeature::PrintSelf(ostream& os, vtkIndent indent)
605{
606 Superclass::PrintSelf(os, indent);
607 os << indent << "vtkGeoJSONFeature" << std::endl;
608 os << indent << "Root: ";
609
610 Json::StreamWriterBuilder builder;
611 builder["commentStyle"] = "All";
612 builder["indentation"] = " ";
613 std::unique_ptr<Json::StreamWriter> writer(builder.newStreamWriter());
614
615 writer->write(this->featureRoot, &os);
616}
617VTK_ABI_NAMESPACE_END

Callers

nothing calls this directly

Calls 3

newStreamWriterMethod · 0.80
PrintSelfFunction · 0.50
writeMethod · 0.45

Tested by

no test coverage detected