* setAttribute, if attribute already there, update it, else, add it */
| 156 | * setAttribute, if attribute already there, update it, else, add it |
| 157 | */ |
| 158 | bool setAttribute(const std::string& key, const std::string& value) { |
| 159 | return attributes_.insert_or_assign(key, value).second; |
| 160 | } |
| 161 | |
| 162 | /** |
| 163 | * Returns the map of attributes |
no test coverage detected