MCPcopy Create free account
hub / github.com/aguinet/dragonffi / next

Method next

bindings/python/pydffi.cpp:411–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409 { }
410
411 py::object next() {
412 if (Index_ == Obj_.getNumElements())
413 throw py::stop_iteration();
414 return Obj_.get(Index_++);
415 }
416
417private:
418 CArrayObj& Obj_;

Callers

nothing calls this directly

Calls 2

getNumElementsMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected