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

Method getSelectedDataByType

Tools/EditorFramework/DataUtility.cpp:14–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12{
13
14 DataPtr DataUtility::getSelectedDataByType(std::string_view _type)
15 {
16 DataTypePtr info = DataTypeManager::getInstance().getType(_type);
17
18 return getSelectedDataByType(DataManager::getInstance().getRoot(), info);
19 }
20
21 DataPtr DataUtility::getSelectedDataByType(DataPtr _data, DataTypePtr _info)
22 {

Callers

nothing calls this directly

Calls 3

getChildSelectedMethod · 0.80
getTypeMethod · 0.45
getRootMethod · 0.45

Tested by

no test coverage detected