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

Method clear_plugins

src/laybasic/laybasic/layLayoutViewBase.cc:585–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583}
584
585void LayoutViewBase::clear_plugins ()
586{
587 std::vector<lay::Plugin *> plugins;
588 mp_plugins.swap (plugins);
589 for (std::vector<lay::Plugin *>::iterator p = plugins.begin (); p != plugins.end (); ++p) {
590 delete *p;
591 }
592 mp_active_plugin = 0;
593}
594
595void LayoutViewBase::create_plugins (const lay::PluginDeclaration *except_this)
596{

Callers

nothing calls this directly

Calls 3

swapMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected