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

Method setFileRules

src/OpenColorIO/Config.cpp:4648–4654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4646}
4647
4648void Config::setFileRules(ConstFileRulesRcPtr fileRules)
4649{
4650 getImpl()->m_fileRules = fileRules->createEditableCopy();
4651
4652 AutoMutex lock(getImpl()->m_cacheidMutex);
4653 getImpl()->resetCacheIDs();
4654}
4655
4656const char * Config::getColorSpaceFromFilepath(const char * filePath) const
4657{

Callers 14

add_presetMethod · 0.45
move_item_upMethod · 0.45
move_item_downMethod · 0.45
_clear_itemsMethod · 0.45
_remove_itemMethod · 0.45
_set_valueMethod · 0.45
loadFunction · 0.45
test_using_rulesMethod · 0.45
test_copyMethod · 0.45
OCIO_ADD_TESTFunction · 0.45
OCIO_ADD_TESTFunction · 0.45

Calls 3

resetCacheIDsMethod · 0.80
getImplFunction · 0.50
createEditableCopyMethod · 0.45

Tested by 7

test_using_rulesMethod · 0.36
test_copyMethod · 0.36
OCIO_ADD_TESTFunction · 0.36
OCIO_ADD_TESTFunction · 0.36
OCIO_ADD_TESTFunction · 0.36
OCIO_ADD_TESTFunction · 0.36