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

Method prepared

filters/DividerFilter.cpp:128–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126
127
128void DividerFilter::prepared(PointTableRef table)
129{
130 if (m_args->m_mode == Mode::Expression)
131 {
132 if (!m_args->m_splitExpression.valid())
133 {
134 std::stringstream oss;
135 oss << "The expression '" << m_args->m_splitExpression
136 << "' is invalid";
137 throwError(oss.str());
138 }
139
140 auto status = m_args->m_splitExpression.prepare(table.layout());
141 if (!status)
142 throwError(status.what());
143 }
144}
145
146
147void DividerFilter::initialize()

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