MCPcopy Create free account
hub / github.com/MyGUI/mygui / findAttribute

Method findAttribute

MyGUIEngine/src/MyGUI_XmlDocument.cpp:242–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240 }
241
242 bool Element::findAttribute(std::string_view _name, std::string& _value)
243 {
244 for (const auto& attribute : mAttributes)
245 {
246 if (attribute.first == _name)
247 {
248 _value = attribute.second;
249 return true;
250 }
251 }
252 return false;
253 }
254
255 std::string_view Element::findAttribute(std::string_view _name)
256 {

Callers 15

Gui.hFile · 0.80
deserializationMethod · 0.80
setupResourcesMethod · 0.80
deserializationMethod · 0.80
loadFromFileMethod · 0.80
deserializationMethod · 0.80
deserializationMethod · 0.80
createChildItemNodeMethod · 0.80
deserializationMethod · 0.80
deserializationMethod · 0.80
deserializationMethod · 0.80
deserializationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected