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

Function get_cell_name

src/laybasic/laybasic/gsiDeclLayCellView.cc:124–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124static std::string get_cell_name (const lay::CellViewRef *cv)
125{
126 if (cv->cell () == 0) {
127 return std::string ();
128 } else {
129 return (*cv)->layout ().cell_name (cv->cell_index ());
130 }
131}
132
133static void cv_descend (lay::CellViewRef *cv, const std::vector<db::InstElement> &path)
134{

Callers

nothing calls this directly

Calls 5

stringFunction · 0.50
cellMethod · 0.45
cell_nameMethod · 0.45
layoutMethod · 0.45
cell_indexMethod · 0.45

Tested by

no test coverage detected