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

Method setPattern

src/OpenColorIO/FileRules.cpp:720–724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

718}
719
720void FileRules::setPattern(size_t ruleIndex, const char * pattern)
721{
722 m_impl->validatePosition(ruleIndex, Impl::DEFAULT_NOT_ALLOWED);
723 m_impl->m_rules[ruleIndex]->setPattern(pattern);
724}
725
726const char * FileRules::getExtension(size_t ruleIndex) const
727{

Callers 5

test_patternMethod · 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_patternMethod · 0.76
test_regexMethod · 0.76
OCIO_ADD_TESTFunction · 0.36