| 502 | } |
| 503 | |
| 504 | bool |
| 505 | Plugin::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 | |
| 519 | void |
| 520 | Plugin::get_config_names (std::vector<std::string> &names) const |
no test coverage detected