| 161 | } |
| 162 | |
| 163 | bool ColorSpace::hasAlias(const char * alias) const noexcept |
| 164 | { |
| 165 | if (!alias) return false; |
| 166 | for (size_t idx = 0; idx < getImpl()->m_aliases.size(); ++idx) |
| 167 | { |
| 168 | if (0 == Platform::Strcasecmp(getImpl()->m_aliases[idx].c_str(), alias)) |
| 169 | { |
| 170 | return true; |
| 171 | } |
| 172 | } |
| 173 | return false; |
| 174 | } |
| 175 | |
| 176 | void ColorSpace::addAlias(const char * alias) noexcept |
| 177 | { |