| 261 | } |
| 262 | |
| 263 | std::string |
| 264 | LibraryProxy::get_basic_name () const |
| 265 | { |
| 266 | Library *lib = LibraryManager::instance ().lib (lib_id ()); |
| 267 | if (lib) { |
| 268 | if (! lib->layout ().is_valid_cell_index (library_cell_index ())) { |
| 269 | return "<defunct>"; |
| 270 | } else { |
| 271 | const db::Cell &lib_cell = lib->layout ().cell (library_cell_index ()); |
| 272 | return lib_cell.get_basic_name (); |
| 273 | } |
| 274 | } else { |
| 275 | return Cell::get_basic_name (); |
| 276 | } |
| 277 | } |
| 278 | |
| 279 | std::string |
| 280 | LibraryProxy::get_variant_name () const |
nothing calls this directly
no test coverage detected