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

Method defaultReader

pdal/StageExtensions.cpp:126–131  ·  view source on GitHub ↗

Get the default reader associated with an extension. Extensions are specified without the leading '.'

Source from the content-addressed store, hash-verified

124// Get the default reader associated with an extension. Extensions
125// are specified without the leading '.'
126std::string StageExtensions::defaultReader(const std::string& extension)
127{
128 load();
129 std::lock_guard<std::mutex> lock(m_mutex);
130 return (m_readers[extension]);
131}
132
133
134// Get the default writer associated with an extension. Extensions

Callers 1

inferReaderDriverMethod · 0.80

Calls 1

loadFunction · 0.85

Tested by

no test coverage detected