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

Method extensions

pdal/StageExtensions.cpp:144–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142
143
144StringList StageExtensions::extensions(const std::string& stage)
145{
146 StringList exts;
147
148 std::lock_guard<std::mutex> lock(m_mutex);
149
150 if (Utils::startsWith(stage, "readers."))
151 {
152 for (auto& entry : m_readers)
153 if (entry.second == stage)
154 exts.push_back(entry.first);
155 }
156 else if (Utils::startsWith(stage, "writers."))
157 {
158 for (auto& entry : m_writers)
159 if (entry.second == stage)
160 exts.push_back(entry.first);
161 }
162 return exts;
163}
164
165} // namespace pdal

Callers 1

outputDriversMethod · 0.80

Calls 1

startsWithFunction · 0.85

Tested by

no test coverage detected