| 175 | |
| 176 | template <typename Fn> |
| 177 | void ForEachTag(Fn && func) const |
| 178 | { |
| 179 | for (auto const & tag : GetRootNode().select_nodes("tag")) |
| 180 | func(tag.node().attribute("k").value(), tag.node().attribute("v").value()); |
| 181 | } |
| 182 | |
| 183 | std::string GetTagValue(std::string_view key) const; |
| 184 | void SetTagValue(std::string_view key, std::string_view value); |