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

Method clone

src/OpenColorIO/ViewingRules.cpp:50–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 1

ViewingRules.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected