MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / getNumCustomKeys

Method getNumCustomKeys

src/OpenColorIO/FileRules.cpp:763–767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

761}
762
763size_t FileRules::getNumCustomKeys(size_t ruleIndex) const
764{
765 m_impl->validatePosition(ruleIndex, Impl::DEFAULT_ALLOWED);
766 return m_impl->m_rules[ruleIndex]->m_customKeys.getSize();
767}
768
769const char * FileRules::getCustomKeyName(size_t ruleIndex, size_t key) const
770{

Callers 15

test_copyMethod · 0.95
test_custom_keysMethod · 0.95
_get_itemsMethod · 0.45
_get_itemsMethod · 0.45
saveFunction · 0.45
FileRules.cppFile · 0.45
fileRulesAreEqualFunction · 0.45
copyRuleFunction · 0.45
viewingRulesAreEqualFunction · 0.45
copyViewingRuleFunction · 0.45
test_custom_keysMethod · 0.45
test_configMethod · 0.45

Calls 2

getSizeMethod · 0.80
validatePositionMethod · 0.45

Tested by 7

test_copyMethod · 0.76
test_custom_keysMethod · 0.76
test_custom_keysMethod · 0.36
test_configMethod · 0.36
OCIO_ADD_TESTFunction · 0.36
OCIO_ADD_TESTFunction · 0.36
OCIO_ADD_TESTFunction · 0.36