MCPcopy 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
3029int Config::getNumRoles() const
3030{
3031 return static_cast<int>(getImpl()->m_roles.size());
3032}
3033
3034bool Config::hasRole(const char * role) const
3035{

Callers 9

test_interfaceMethod · 0.95
mainFunction · 0.45
saveFunction · 0.45
refreshMethod · 0.45
mergeInputRolesMethod · 0.45
handleInputOnlyMethod · 0.45
handleRemoveMethod · 0.45
OCIO_ADD_TESTFunction · 0.45
OCIO_ADD_TESTFunction · 0.45

Calls 2

getImplFunction · 0.50
sizeMethod · 0.45

Tested by 3

test_interfaceMethod · 0.76
OCIO_ADD_TESTFunction · 0.36
OCIO_ADD_TESTFunction · 0.36