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

Function cv_show_cell

src/laybasic/laybasic/gsiDeclLayCellView.cc:169–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169static void cv_show_cell (lay::CellViewRef *cv, const db::Cell *cell)
170{
171 if (cv->is_valid () && cell) {
172 if (cell->layout () != &(*cv)->layout ()) {
173 throw tl::Exception (tl::to_string (tr ("The cell is not a cell of the view's layout")));
174 }
175 cv->view ()->show_cell (cell->cell_index (), cv->index ());
176 }
177}
178
179static void cv_show_all_cells (lay::CellViewRef *cv)
180{

Callers

nothing calls this directly

Calls 9

ExceptionClass · 0.50
to_stringFunction · 0.50
trFunction · 0.50
is_validMethod · 0.45
layoutMethod · 0.45
show_cellMethod · 0.45
viewMethod · 0.45
cell_indexMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected