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

Method nextIndex

src/bindings/python/PyUtils.h:45–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 PyIterator(T obj, ARGS ... args) : m_obj(obj), m_args(args ...) {}
44
45 int nextIndex(int num)
46 {
47 if (m_i >= num) { throw py::stop_iteration(); }
48 return m_i++;
49 }
50
51 void checkIndex(int i, int num)
52 {

Callers 15

bindPySystemMonitorsFunction · 0.80
bindPyViewingRulesFunction · 0.80
bindPyGpuShaderDescFunction · 0.80
bindPyViewTransformFunction · 0.80
bindPyGpuShaderCreatorFunction · 0.80
bindPyFormatMetadataFunction · 0.80
bindPyBakerFunction · 0.80
bindPyProcessorMetadataFunction · 0.80
bindPyNamedTransformFunction · 0.80
bindPyColorSpaceFunction · 0.80
PyConfig.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected