| 48 | } |
| 49 | |
| 50 | ViewingRuleRcPtr clone() const |
| 51 | { |
| 52 | ViewingRuleRcPtr rule = std::make_shared<ViewingRule>(m_name.c_str()); |
| 53 | |
| 54 | rule->m_colorSpaces = m_colorSpaces; |
| 55 | rule->m_encodings = m_encodings; |
| 56 | rule->m_customKeys = m_customKeys; |
| 57 | |
| 58 | return rule; |
| 59 | } |
| 60 | |
| 61 | const char * getName() const noexcept |
| 62 | { |