MCPcopy Create free account
hub / github.com/KLayout/klayout / push

Method push

src/db/db/dbRecursiveInstanceIterator.cc:757–781  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755}
756
757void
758RecursiveInstanceIterator::push (RecursiveInstanceReceiver *receiver)
759{
760 // force reset so we can validate with a receiver
761 reset ();
762
763 receiver->begin (this);
764
765 try {
766
767 validate (receiver);
768
769 while (! at_end ()) {
770 next (receiver);
771 }
772
773 receiver->end (this);
774
775 } catch (...) {
776
777 receiver->end (this);
778 throw;
779
780 }
781}
782
783}
784

Callers

nothing calls this directly

Calls 5

resetFunction · 0.70
at_endFunction · 0.70
nextFunction · 0.70
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected