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

Function cell_index

src/db/db/dbLayoutQuery.cc:856–867  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

854 }
855
856 db::cell_index_type cell_index () const
857 {
858 if (mp_parent) {
859 if (m_instance_mode == NoInstances) {
860 return *m_child_cell;
861 } else {
862 return (*m_inst)->object ().cell_index ();
863 }
864 } else {
865 return *m_top_cell;
866 }
867 }
868
869 bool get_property (unsigned int id, tl::Variant &v)
870 {

Callers 1

get_propertyFunction · 0.70

Calls 2

objectMethod · 0.80
cell_indexMethod · 0.45

Tested by

no test coverage detected