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

Method config_get

src/laybasic/laybasic/layPlugin.cc:504–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502}
503
504bool
505Plugin::config_get (const std::string &name, std::string &value) const
506{
507 std::map<std::string, std::string>::const_iterator p = m_repository.find (name);
508 if (p != m_repository.end ()) {
509 value = p->second;
510 return true;
511 } else if (mp_parent) {
512 return mp_parent->config_get (name, value);
513 } else {
514 value = "";
515 return false;
516 }
517}
518
519void
520Plugin::get_config_names (std::vector<std::string> &names) const

Callers 15

get_stored_valuesMethod · 0.80
commit_recentMethod · 0.80
push_segmentMethod · 0.80
PCellParametersPageMethod · 0.80
setupMethod · 0.80
initializedMethod · 0.80
initMethod · 0.80
setupMethod · 0.80
CellSelectionFormMethod · 0.80
fetch_configMethod · 0.80
setupMethod · 0.80
setupMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected