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

Method getAlias

src/OpenColorIO/ColorSpace.cpp:154–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154const char * ColorSpace::getAlias(size_t idx) const noexcept
155{
156 if (idx < getImpl()->m_aliases.size())
157 {
158 return getImpl()->m_aliases[idx].c_str();
159 }
160 return "";
161}
162
163bool ColorSpace::hasAlias(const char * alias) const noexcept
164{

Callers 15

getAliasesStdVecFunction · 0.45
bindPyNamedTransformFunction · 0.45
getAliasesStdVecFunction · 0.45
bindPyColorSpaceFunction · 0.45
saveFunction · 0.45
getIndexMethod · 0.45
addMethod · 0.45
ColorSpace.cppFile · 0.45
containsSRGBFunction · 0.45
addColorSpaceMethod · 0.45
addNamedTransformMethod · 0.45

Calls 2

getImplFunction · 0.50
sizeMethod · 0.45

Tested by 5

OCIO_ADD_TESTFunction · 0.36
OCIO_ADD_TESTFunction · 0.36
OCIO_ADD_TESTFunction · 0.36
OCIO_ADD_TESTFunction · 0.36
OCIO_ADD_TESTFunction · 0.36