| 1062 | } |
| 1063 | |
| 1064 | static 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 | |
| 1077 | std::string LayoutToNetlist::name (const ShapeCollection &coll) const |
| 1078 | { |
no test coverage detected