| 93 | |
| 94 | |
| 95 | point_count_t SmrmsgReader::read(PointViewPtr view, point_count_t count) |
| 96 | { |
| 97 | PointId nextId = view->size(); |
| 98 | PointId idx = m_index; |
| 99 | point_count_t numRead = 0; |
| 100 | seek(idx); |
| 101 | while (numRead < count && idx < m_numPts) |
| 102 | { |
| 103 | PointRef point = view->point(nextId); |
| 104 | processOne(point); |
| 105 | if (m_cb) |
| 106 | m_cb(*view, nextId); |
| 107 | |
| 108 | idx++; |
| 109 | nextId++; |
| 110 | numRead++; |
| 111 | } |
| 112 | m_index = idx; |
| 113 | return numRead; |
| 114 | } |
| 115 | |
| 116 | |
| 117 | bool SmrmsgReader::eof() |
nothing calls this directly
no test coverage detected