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

Method checkIndex

src/bindings/python/PyUtils.h:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 }
50
51 void checkIndex(int i, int num)
52 {
53 if (i >= num) { throw py::index_error("Iterator index out of range"); }
54 }
55
56 T m_obj;
57 std::tuple<ARGS ...> m_args;

Callers 15

bindPyViewingRulesFunction · 0.80
bindPyViewTransformFunction · 0.80
bindPyFormatMetadataFunction · 0.80
bindPyBakerFunction · 0.80
bindPyProcessorMetadataFunction · 0.80
bindPyNamedTransformFunction · 0.80
bindPyColorSpaceFunction · 0.80
PyConfig.cppFile · 0.80
bindPyColorSpaceSetFunction · 0.80
bindPyProcessorFunction · 0.80
bindPyContextFunction · 0.80
bindPyGroupTransformFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected