| 319 | } |
| 320 | |
| 321 | std::string get_namespace(std::string language) const { |
| 322 | std::map<std::string, std::string>::const_iterator iter; |
| 323 | if ((iter = namespaces_.find(language)) != namespaces_.end() |
| 324 | || (iter = namespaces_.find("*")) != namespaces_.end()) { |
| 325 | return iter->second; |
| 326 | } |
| 327 | return std::string(); |
| 328 | } |
| 329 | |
| 330 | const std::map<std::string, std::string>& get_all_namespaces() const { |
| 331 | return namespaces_; |
no test coverage detected