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

Method layer_snapshot

src/laybasic/laybasic/layLayoutViewBase.cc:5782–5794  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5780}
5781
5782LayerState
5783LayoutViewBase::layer_snapshot () const
5784{
5785 LayerState state;
5786 LayerPropertiesConstIterator l = begin_layers ();
5787 while (! l.at_end ()) {
5788 if (! l->has_children ()) {
5789 state.present.insert (l->source (true /*real*/));
5790 }
5791 ++l;
5792 }
5793 return state;
5794}
5795
5796void
5797LayoutViewBase::current_layer_changed_slot (const lay::LayerPropertiesConstIterator &iter)

Callers 2

do_applyMethod · 0.80
make_cellMethod · 0.80

Calls 5

begin_layersFunction · 0.70
at_endMethod · 0.45
has_childrenMethod · 0.45
insertMethod · 0.45
sourceMethod · 0.45

Tested by

no test coverage detected