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

Method unregisterFactory

MyGUIEngine/src/MyGUI_FactoryManager.cpp:54–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 }
53
54 void FactoryManager::unregisterFactory(std::string_view _category, std::string_view _type)
55 {
56 MapRegisterFactoryItem::iterator category = mRegisterFactoryItems.find(_category);
57 if (category == mRegisterFactoryItems.end())
58 {
59 return;
60 }
61 MapFactoryItem::iterator type = category->second.find(_type);
62 if (type == category->second.end())
63 {
64 return;
65 }
66
67 category->second.erase(type);
68 }
69
70 void FactoryManager::unregisterFactory(std::string_view _category)
71 {

Callers 2

shutdownMethod · 0.80
shutdownMethod · 0.80

Calls 3

findMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected