MCPcopy Create free account
hub / github.com/OSGeo/gdal / GetNextProcessedFeature

Method GetNextProcessedFeature

apps/gdalalg_vector_sort.cpp:262–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260 }
261
262 std::unique_ptr<OGRFeature> GetNextProcessedFeature() override
263 {
264 CPLAssert(m_sortedIndices.size() == m_store->Size());
265
266 if (m_readPos < m_store->Size())
267 {
268 return m_store->Load(m_sortedIndices[m_readPos++]);
269 }
270
271 return nullptr;
272 }
273
274 void ResetReading() override
275 {

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
SizeMethod · 0.45
LoadMethod · 0.45

Tested by

no test coverage detected