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

Method getColorSpace

src/OpenColorIO/FileRules.cpp:751–755  ·  view source on GitHub ↗

Color space or role.

Source from the content-addressed store, hash-verified

749
750// Color space or role.
751const char * FileRules::getColorSpace(size_t ruleIndex) const
752{
753 m_impl->validatePosition(ruleIndex, Impl::DEFAULT_ALLOWED);
754 return m_impl->m_rules[ruleIndex]->getColorSpace();
755}
756
757void FileRules::setColorSpace(size_t ruleIndex, const char * colorSpace)
758{

Callers 8

test_copyMethod · 0.95
test_defaultMethod · 0.95
test_color_spaceMethod · 0.95
validateMethod · 0.45
getRuleFromFilepathMethod · 0.45
isDefaultMethod · 0.45
FileRules.cppFile · 0.45

Calls 1

validatePositionMethod · 0.45

Tested by 3

test_copyMethod · 0.76
test_defaultMethod · 0.76
test_color_spaceMethod · 0.76