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

Method set_unspecific_path

src/laybasic/laybasic/layCellView.cc:67–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void
68CellView::set_unspecific_path (const unspecific_cell_path_type &p)
69{
70 tl_assert (m_layout_href.get () != 0);
71
72 mp_cell = 0;
73 m_cell_index = 0;
74 m_unspecific_path = p;
75 m_specific_path.clear ();
76
77 if (p.size () > 0 && m_layout_href.get () && p.back () < m_layout_href->layout ().cells ()) {
78 m_cell_index = p.back ();
79 mp_cell = &m_layout_href->layout ().cell (p.back ());
80 }
81
82 mp_ctx_cell = mp_cell;
83 m_ctx_cell_index = m_cell_index;
84}
85
86void
87CellView::set_specific_path (const specific_cell_path_type &p)

Callers 5

cellviewMethod · 0.80
add_layoutMethod · 0.80
select_cell_fitMethod · 0.80
select_cellMethod · 0.80
deep_copyMethod · 0.80

Calls 9

select_cellviewMethod · 0.80
index_of_cellviewMethod · 0.80
is_validFunction · 0.70
getMethod · 0.45
clearMethod · 0.45
sizeMethod · 0.45
backMethod · 0.45
layoutMethod · 0.45
cellMethod · 0.45

Tested by

no test coverage detected