MCPcopy Create free account
hub / github.com/MyGUI/mygui / operator()

Method operator()

Tools/EditorFramework/pugixml.cpp:7221–7229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7219 }
7220
7221 bool operator()(const xml_attribute& a) const
7222 {
7223 const char_t* name = a.name();
7224
7225 if (!starts_with(name, PUGIXML_TEXT("xmlns")))
7226 return false;
7227
7228 return prefix ? name[5] == ':' && strequalrange(name + 6, prefix, prefix_length) : name[5] == 0;
7229 }
7230};
7231
7232PUGI__FN const char_t* namespace_uri(const xml_node& node)

Callers

nothing calls this directly

Calls 3

starts_withFunction · 0.70
strequalrangeFunction · 0.70
nameMethod · 0.45

Tested by

no test coverage detected