MCPcopy Create free account
hub / github.com/KLayout/klayout / ~LayoutHandle

Method ~LayoutHandle

src/laybasic/laybasic/layLayoutHandle.cc:94–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94LayoutHandle::~LayoutHandle ()
95{
96 if (tl::verbosity () >= 30) {
97 tl::info << "Deleted layout " << name ();
98 }
99
100 delete mp_layout;
101 mp_layout = 0;
102
103 if (find (m_name) == this) {
104 ms_dict.erase (m_name);
105 }
106
107 remove_file_from_watcher (filename ());
108}
109
110void
111LayoutHandle::remove_file_from_watcher (const std::string &path)

Callers

nothing calls this directly

Calls 5

verbosityFunction · 0.85
nameFunction · 0.70
findFunction · 0.70
filenameFunction · 0.70
eraseMethod · 0.45

Tested by

no test coverage detected