MCPcopy Create free account
hub / github.com/PDAL/PDAL / getSchema

Method getSchema

pdal/PipelineExecutor.cpp:73–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72
73std::string PipelineExecutor::getSchema() const
74{
75 if (!m_executed)
76 throw pdal_error("Pipeline has not been executed!");
77
78 std::stringstream strm;
79 MetadataNode root = m_manager.pointTable().layout()->toMetadata().clone("schema");
80 pdal::Utils::toJSON(root, strm);
81 return strm.str();
82}
83
84void PipelineExecutor::readPipeline()
85{

Callers

nothing calls this directly

Calls 3

toJSONFunction · 0.85
strMethod · 0.80
toMetadataMethod · 0.45

Tested by

no test coverage detected