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

Method getExtension

src/OpenColorIO/FileRules.cpp:726–730  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

724}
725
726const char * FileRules::getExtension(size_t ruleIndex) const
727{
728 m_impl->validatePosition(ruleIndex, Impl::DEFAULT_ALLOWED);
729 return m_impl->m_rules[ruleIndex]->getExtension();
730}
731
732void FileRules::setExtension(size_t ruleIndex, const char * extension)
733{

Callers 10

test_copyMethod · 0.95
test_defaultMethod · 0.95
test_extensionMethod · 0.95
_get_itemsMethod · 0.45
saveFunction · 0.45
FileRules.cppFile · 0.45
fileRulesAreEqualFunction · 0.45
copyRuleFunction · 0.45
OCIO_ADD_TESTFunction · 0.45
OCIO_ADD_TESTFunction · 0.45

Calls 1

validatePositionMethod · 0.45

Tested by 5

test_copyMethod · 0.76
test_defaultMethod · 0.76
test_extensionMethod · 0.76
OCIO_ADD_TESTFunction · 0.36
OCIO_ADD_TESTFunction · 0.36