MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / getResourceHashCode

Method getResourceHashCode

Source/Core/CtrlrPanel/CtrlrPanelResourceManager.cpp:458–466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456}
457
458int CtrlrPanelResourceManager::getResourceHashCode(const int resourceIndex)
459{
460 if (resources[resourceIndex])
461 {
462 return (resources[resourceIndex]->getHashCode());
463 }
464
465 return (-1);
466}
467
468int CtrlrPanelResourceManager::getResourceIndexByHashCode(const int hashCode)
469{

Callers

nothing calls this directly

Calls 1

getHashCodeMethod · 0.45

Tested by

no test coverage detected