MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / findShortcutByName

Method findShortcutByName

source/MRViewer/MRShortcutManager.cpp:191–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191std::optional<ShortcutManager::ShortcutKey> ShortcutManager::findShortcutByName( const std::string& name ) const
192{
193 auto it = backMap_.find( name );
194 if ( it == backMap_.end() )
195 return {};
196 return kayAndModFromMapKey( it->second );
197}
198
199void ShortcutManager::clear()
200{

Callers 1

drawTooltip_Method · 0.80

Calls 3

kayAndModFromMapKeyFunction · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected