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

Method do_config_setup

src/laybasic/laybasic/layPlugin.cc:541–551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

539}
540
541void
542Plugin::do_config_setup (Plugin *target)
543{
544 if (mp_parent) {
545 mp_parent->do_config_setup (target);
546 }
547 // local configurations override the parent's configuration, i.e. are applied after the parents settings
548 for (std::map<std::string, std::string>::const_iterator p = m_repository.begin (); p != m_repository.end (); ++p) {
549 target->do_config_set (p->first, p->second, false);
550 }
551}
552
553void
554Plugin::do_config_end ()

Callers

nothing calls this directly

Calls 3

do_config_setMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected