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

Method hasAlias

src/OpenColorIO/NamedTransform.cpp:68–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68bool NamedTransformImpl::hasAlias(const char * alias) const noexcept
69{
70 if (!alias || !*alias) return false;
71 for (size_t idx = 0; idx < m_aliases.size(); ++idx)
72 {
73 if (0 == Platform::Strcasecmp(m_aliases[idx].c_str(), alias))
74 {
75 return true;
76 }
77 }
78 return false;
79}
80
81void NamedTransformImpl::addAlias(const char * alias) noexcept
82{

Callers

nothing calls this directly

Calls 2

StrcasecmpFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected