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

Method error_layer

src/db/db/dbLayoutLayers.cc:175–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175unsigned int
176LayoutLayers::error_layer () const
177{
178 if (m_error_layer < 0) {
179 // create the error layer (since that layer is cached we can do
180 // this in a "const" fashion.
181 db::LayoutLayers *self = const_cast<db::LayoutLayers *> (this);
182 self->m_error_layer = (int) self->insert_special_layer (db::LayerProperties ("ERROR"));
183 }
184
185 return (unsigned int) m_error_layer;
186}
187
188unsigned int
189LayoutLayers::waste_layer () const

Callers 7

test_issue1549Method · 0.80
find_internalMethod · 0.80
perform_taskMethod · 0.80
dbLayoutTests.ccFile · 0.80
get_layer_indicesMethod · 0.80
error_layerFunction · 0.80
updateMethod · 0.80

Calls 2

insert_special_layerMethod · 0.95
LayerPropertiesClass · 0.70

Tested by 1

test_issue1549Method · 0.64