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

Method getRegex

src/OpenColorIO/FileRules.cpp:738–742  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

736}
737
738const char * FileRules::getRegex(size_t ruleIndex) const
739{
740 m_impl->validatePosition(ruleIndex, Impl::DEFAULT_ALLOWED);
741 return m_impl->m_rules[ruleIndex]->getRegex();
742}
743
744void FileRules::setRegex(size_t ruleIndex, const char * regex)
745{

Callers 10

test_copyMethod · 0.95
test_defaultMethod · 0.95
test_regexMethod · 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_regexMethod · 0.76
OCIO_ADD_TESTFunction · 0.36
OCIO_ADD_TESTFunction · 0.36