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

Function cv_hide_cell

src/laybasic/laybasic/gsiDeclLayCellView.cc:159–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159static void cv_hide_cell (lay::CellViewRef *cv, const db::Cell *cell)
160{
161 if (cv->is_valid () && cell) {
162 if (cell->layout () != &(*cv)->layout ()) {
163 throw tl::Exception (tl::to_string (tr ("The cell is not a cell of the view's layout")));
164 }
165 cv->view ()->hide_cell (cell->cell_index (), cv->index ());
166 }
167}
168
169static void cv_show_cell (lay::CellViewRef *cv, const db::Cell *cell)
170{

Callers

nothing calls this directly

Calls 9

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

Tested by

no test coverage detected