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

Function dss_create_from_flat

src/db/db/dbLayoutToNetlist.cc:1064–1075  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1062}
1063
1064static db::DeepLayer dss_create_from_flat (db::DeepShapeStore &dss, const db::ShapeCollection &coll)
1065{
1066 const db::Region *region = dynamic_cast<const db::Region *> (&coll);
1067 const db::Texts *texts = dynamic_cast<const db::Texts *> (&coll);
1068 if (region) {
1069 return dss.create_from_flat (*region, true);
1070 } else if (texts) {
1071 return dss.create_from_flat (*texts);
1072 } else {
1073 tl_assert (false);
1074 }
1075}
1076
1077std::string LayoutToNetlist::name (const ShapeCollection &coll) const
1078{

Callers 1

register_layerMethod · 0.85

Calls 1

create_from_flatMethod · 0.80

Tested by

no test coverage detected