Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AcademySoftwareFoundation/OpenColorIO
/ getNumRoles
Method
getNumRoles
src/OpenColorIO/Config.cpp:3029–3032 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3027
}
3028
3029
int Config::getNumRoles() const
3030
{
3031
return static_cast<int>(getImpl()->m_roles.size());
3032
}
3033
3034
bool Config::hasRole(const char * role) const
3035
{
Callers
9
test_interface
Method · 0.95
main
Function · 0.45
save
Function · 0.45
refresh
Method · 0.45
mergeInputRoles
Method · 0.45
handleInputOnly
Method · 0.45
handleRemove
Method · 0.45
OCIO_ADD_TEST
Function · 0.45
OCIO_ADD_TEST
Function · 0.45
Calls
2
getImpl
Function · 0.50
size
Method · 0.45
Tested by
3
test_interface
Method · 0.76
OCIO_ADD_TEST
Function · 0.36
OCIO_ADD_TEST
Function · 0.36