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

Method run

pdal/StageWrapper.hpp:30–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 static void done(Stage& s, PointTableRef table)
29 { s.done(table); }
30 static PointViewSet run(Stage& s, PointViewPtr view)
31 {
32 bool bDoRunStage(true);
33 Filter* isFilterType = dynamic_cast<Filter*>(&s);
34
35 if (isFilterType)
36 if (view->empty())
37 bDoRunStage = false;
38 if (bDoRunStage)
39 return s.run(view);
40 else
41 {
42 s.log()->get(LogLevel::Debug)
43 << " Filter '" << s.tag()
44 << "' was passed an empty view and not executed";
45 return PointViewSet();
46 }
47 }
48};
49
50// Provide access to private members of Filter.

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.45
getMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected