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

Method pop

src/db/db/dbRecursiveShapeIterator.cc:921–946  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

919}
920
921void
922RecursiveShapeIterator::pop () const
923{
924 m_shape = shape_iterator ();
925 m_shape_quad_id = 0;
926
927 m_inst = m_inst_iterators.back ();
928 m_inst_array = m_inst_array_iterators.back ();
929 m_inst_quad_id = m_inst_quad_id_stack.back ();
930 m_skip_shapes = m_skip_shapes_stack.back ();
931 m_skip_shapes_member = m_skip_shapes_member_stack.back ();
932 m_inst_iterators.pop_back ();
933 m_inst_array_iterators.pop_back ();
934 m_inst_quad_id_stack.pop_back ();
935
936 m_trans = m_trans_stack.back ();
937 m_trans_stack.pop_back ();
938 mp_cell = m_cells.back ();
939 m_cells.pop_back ();
940 m_local_region_stack.pop_back ();
941 m_skip_shapes_stack.pop_back ();
942 m_skip_shapes_member_stack.pop_back ();
943 if (! m_local_complex_region_stack.empty ()) {
944 m_local_complex_region_stack.pop_back ();
945 }
946}
947
948void
949RecursiveShapeIterator::start_shapes () const

Callers 6

setup.pyFile · 0.80
_finishMethod · 0.80
finishFunction · 0.80
write_objFunction · 0.80
parseFunction · 0.80
produce_classMethod · 0.80

Calls 3

backMethod · 0.45
pop_backMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected