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

Method getEvent

Tools/EditorFramework/DataSelectorManager.cpp:52–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 }
51
52 DataSelectorManager::EventType* DataSelectorManager::getEvent(std::string_view _dataType)
53 {
54 MapEvent::iterator event = mEvents.find(_dataType);
55 if (event != mEvents.end())
56 return (*event).second;
57
58 EventType* type = new EventType();
59 mEvents.emplace(_dataType, type);
60 return type;
61 }
62
63 void DataSelectorManager::changeParent(DataPtr _parent)
64 {

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected