| 3520 | } |
| 3521 | |
| 3522 | unsigned int |
| 3523 | LayoutViewBase::create_layout (const std::string &technology, bool add_cellview, bool initialize_layers) |
| 3524 | { |
| 3525 | const db::Technology *tech = db::Technologies::instance ()->technology_by_name (technology); |
| 3526 | |
| 3527 | db::Layout *layout = new db::Layout (is_editable (), manager ()); |
| 3528 | if (tech) { |
| 3529 | layout->dbu (tech->dbu ()); |
| 3530 | } |
| 3531 | |
| 3532 | lay::LayoutHandle *handle = new lay::LayoutHandle (layout, ""); |
| 3533 | handle->set_tech_name (technology); |
| 3534 | return add_layout (handle, add_cellview, initialize_layers); |
| 3535 | } |
| 3536 | |
| 3537 | unsigned int |
| 3538 | LayoutViewBase::load_layout (const std::string &filename, const std::string &technology, bool add_cellview) |
no test coverage detected