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

Method setRegex

src/OpenColorIO/FileRules.cpp:744–748  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

742}
743
744void FileRules::setRegex(size_t ruleIndex, const char * regex)
745{
746 m_impl->validatePosition(ruleIndex, Impl::DEFAULT_NOT_ALLOWED);
747 m_impl->m_rules[ruleIndex]->setRegex(regex);
748}
749
750// Color space or role.
751const char * FileRules::getColorSpace(size_t ruleIndex) const

Callers 5

test_patternMethod · 0.95
test_extensionMethod · 0.95
test_regexMethod · 0.95
_set_valueMethod · 0.45
insertRuleMethod · 0.45

Calls 1

validatePositionMethod · 0.45

Tested by 3

test_patternMethod · 0.76
test_extensionMethod · 0.76
test_regexMethod · 0.76