MCPcopy Create free account
hub / github.com/comaps/comaps / ForEachTag

Method ForEachTag

libs/editor/xml_feature.hpp:177–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);

Callers 3

PrintFileContainerStatsFunction · 0.45
UnpackMwmFunction · 0.45
UNIT_TESTFunction · 0.45

Calls 1

valueMethod · 0.45

Tested by 1

UNIT_TESTFunction · 0.36