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

Function getStage

pdal/PipelineManager.hpp:127–131  ·  view source on GitHub ↗

Return the first leaf stage of a pipeline, or nullptr if the pipeline is empty.

Source from the content-addressed store, hash-verified

125 // Return the first leaf stage of a pipeline, or nullptr if the pipeline
126 // is empty.
127 Stage* getStage() const
128 {
129 const auto& llist = leaves();
130 return llist.size() ? llist[0] : nullptr;
131 }
132
133 // Set the log to be available to stages.
134 void setLog(const LogPtr& log);

Callers 5

pipelineStreamableMethod · 0.85
previewMethod · 0.85
prepareMethod · 0.85
executeMethod · 0.85
executeStreamMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected