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

Method deep_copy

src/laybasic/laybasic/layCellView.cc:187–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187CellView
188CellView::deep_copy (db::Manager *manager) const
189{
190 CellView r;
191 r.set (new lay::LayoutHandle (new db::Layout (manager), ""));
192 r->layout () = (*this)->layout ();
193 r.set_unspecific_path (unspecific_path ());
194 r.set_specific_path (specific_path ());
195 return r;
196}
197
198db::ICplxTrans
199CellView::context_trans () const

Callers

nothing calls this directly

Calls 4

set_unspecific_pathMethod · 0.80
set_specific_pathMethod · 0.80
setMethod · 0.45
layoutMethod · 0.45

Tested by

no test coverage detected