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

Method findByName

MyGUIEngine/src/MyGUI_ResourceManager.cpp:237–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235 }
236
237 IResource* ResourceManager::findByName(std::string_view _name) const
238 {
239 MapResource::const_iterator item = mResources.find(_name);
240 return (item == mResources.end()) ? nullptr : item->second;
241 }
242
243 IResource* ResourceManager::getByName(std::string_view _name, bool _throw) const
244 {

Callers 2

updateTextureMethod · 0.80
updateResultProperyMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected