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

Function makeFilter

test/unit/filters/MongoExpressionFilterTest.cpp:63–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63std::unique_ptr<MongoExpressionFilter> makeFilter(BasePointTable& table,
64 NL::json expression)
65{
66 Options o;
67 o.add("expression", expression.dump());
68 std::unique_ptr<MongoExpressionFilter> filter(new MongoExpressionFilter());
69 filter->setOptions(o);
70 filter->prepare(table);
71 return filter;
72}
73
74} // unnamed namespace
75

Callers 7

TESTFunction · 0.85
executeMethod · 0.85
mergeFileMethod · 0.85
executeMethod · 0.85
executeMethod · 0.85
executeMethod · 0.85

Calls 4

setOptionsMethod · 0.80
addMethod · 0.45
dumpMethod · 0.45
prepareMethod · 0.45

Tested by

no test coverage detected