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

Method insert_layer

src/db/db/dbLayoutLayers.cc:142–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142unsigned int
143LayoutLayers::insert_layer (const LayerProperties &props)
144{
145 unsigned int i = do_insert_layer ();
146 set_properties (i, props);
147 return i;
148}
149
150void
151LayoutLayers::insert_layer (unsigned int index, const LayerProperties &props)

Callers

nothing calls this directly

Calls 3

layer_stateFunction · 0.85
delete_layerFunction · 0.85
set_propertiesFunction · 0.70

Tested by

no test coverage detected