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

Method setExtension

src/OpenColorIO/FileRules.cpp:732–736  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

730}
731
732void FileRules::setExtension(size_t ruleIndex, const char * extension)
733{
734 m_impl->validatePosition(ruleIndex, Impl::DEFAULT_NOT_ALLOWED);
735 m_impl->m_rules[ruleIndex]->setExtension(extension);
736}
737
738const char * FileRules::getRegex(size_t ruleIndex) const
739{

Callers 5

test_extensionMethod · 0.95
test_regexMethod · 0.95
_set_valueMethod · 0.45
insertRuleMethod · 0.45
OCIO_ADD_TESTFunction · 0.45

Calls 1

validatePositionMethod · 0.45

Tested by 3

test_extensionMethod · 0.76
test_regexMethod · 0.76
OCIO_ADD_TESTFunction · 0.36