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

Method attach_view

src/laybasic/laybasic/layLayerProperties.cc:841–853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

839}
840
841void
842LayerPropertiesNode::attach_view (LayoutViewBase *view, unsigned int list_index)
843{
844 mp_view.reset (view);
845 m_list_index = list_index;
846
847 for (iterator c = m_children.begin (); c != m_children.end (); ++c) {
848 c->attach_view (view, list_index);
849 }
850 // Attachment of a view is a strong indication that something significant changed -
851 // recompute the source specifications on next request.
852 m_realize_needed_source = true;
853}
854
855LayerPropertiesNode &
856LayerPropertiesNode::insert_child (const iterator &iter, const LayerPropertiesNode &child)

Callers 14

copy_fromMethod · 0.45
initMethod · 0.45
insert_layer_listMethod · 0.45
set_propertiesMethod · 0.45
replace_layer_nodeMethod · 0.45
do_load_layer_propsMethod · 0.45
add_missing_layersMethod · 0.45
add_new_layersMethod · 0.45
expand_wildcard_layersFunction · 0.45

Calls 3

resetMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected