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

Method removeRule

src/OpenColorIO/ViewingRules.cpp:402–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402void ViewingRules::removeRule(size_t ruleIndex)
403{
404 m_impl->validatePosition(ruleIndex);
405 m_impl->m_rules.erase(m_impl->m_rules.begin() + ruleIndex);
406}
407
408std::ostream & operator<< (std::ostream & os, const ViewingRules & vr)
409{

Callers

nothing calls this directly

Calls 3

eraseMethod · 0.80
validatePositionMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected