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

Method ready

io/PtsReader.cpp:113–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111
112
113void PtsReader::ready(PointTableRef table)
114{
115 m_istream = Utils::openFile(m_filename);
116 if (!m_istream)
117 throwError("Unable to open file '" + m_filename + "'.");
118
119 // Skip header line.
120 std::string buf;
121 std::getline(*m_istream, buf);
122}
123
124
125point_count_t PtsReader::read(PointViewPtr view, point_count_t numPts)

Callers

nothing calls this directly

Calls 1

openFileFunction · 0.50

Tested by

no test coverage detected