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

Method clear

src/laybasic/laybasic/layAnnotationShapes.cc:129–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129void
130AnnotationShapes::clear ()
131{
132 if (manager () && manager ()->transacting ()) {
133 manager ()->queue (this, new AnnotationLayerOp (false /*not insert*/, m_layer.begin (), m_layer.end ()));
134 }
135 invalidate_state (); // HINT: must come before the change is done!
136 m_layer.clear ();
137}
138
139const AnnotationShapes::shape_type &
140AnnotationShapes::insert (const shape_type &sh)

Callers 1

eraseMethod · 0.45

Calls 4

managerFunction · 0.70
queueMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected