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

Function FindTag

libs/editor/xml_feature.cpp:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54string_view constexpr kColon = ":";
55
56pugi::xml_node FindTag(pugi::xml_document const & document, string_view k)
57{
58 string key = "//tag[@k='";
59 key.append(k).append("']");
60 return document.select_node(key.data()).node();
61}
62
63ms::LatLon GetLatLonFromNode(pugi::xml_node const & node)
64{

Callers 4

HasTagMethod · 0.85
GetTagValueMethod · 0.85
SetTagValueMethod · 0.85
RemoveTagMethod · 0.85

Calls 2

appendMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected