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

Method prepared

filters/ExpressionFilter.cpp:91–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89
90
91void ExpressionFilter::prepared(PointTableRef table)
92{
93 for (auto& expression: m_args->m_expressions)
94 {
95 if (!expression.valid())
96 {
97 std::stringstream oss;
98 oss << "The expression '" << expression
99 << "' is invalid";
100 throwError(oss.str());
101 }
102
103 auto status = expression.prepare(table.layout());
104 if (!status)
105 throwError(status.what());
106 }
107}
108
109
110bool ExpressionFilter::processOne(PointRef& point)

Callers

nothing calls this directly

Calls 4

strMethod · 0.80
validMethod · 0.45
prepareMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected