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

Method setName

src/OpenColorIO/ColorSpace.cpp:142–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142void ColorSpace::setName(const char * name) noexcept
143{
144 getImpl()->m_name = name ? name : "";
145 // Name can no longer be an alias.
146 StringUtils::Remove(getImpl()->m_aliases, getImpl()->m_name);
147}
148
149size_t ColorSpace::getNumAliases() const noexcept
150{

Callers 4

_set_valueMethod · 0.95
test_aliasesMethod · 0.95
test_interfaceMethod · 0.95

Calls 2

RemoveFunction · 0.85
getImplFunction · 0.50

Tested by 3

test_aliasesMethod · 0.76
test_interfaceMethod · 0.76