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

Method roots

pdal/PipelineManager.cpp:517–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515
516
517std::vector<Stage *> PipelineManager::roots() const
518{
519 std::vector<Stage *> rlist;
520
521 for (Stage *s : m_stages)
522 if (s->getInputs().empty())
523 rlist.push_back(s);
524 return rlist;
525}
526
527
528std::vector<Stage *> PipelineManager::leaves() const

Callers 1

makeJSONPipelineMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected