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

Method getStateByName

Tools/EditorFramework/StateManager.cpp:147–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145 }
146
147 StateController* StateManager::getStateByName(std::string_view _stateName)
148 {
149 MapStateController::iterator item = mStateName.find(_stateName);
150 if (item != mStateName.end())
151 return (*item).second;
152 return nullptr;
153 }
154
155}

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected