MCPcopy Create free account
hub / github.com/MrKepzie/Natron / getNumKeys

Function getNumKeys

Engine/OfxParamInstance.cpp:128–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126/// in a generalized manner
127namespace OfxKeyFrame {
128static
129OfxStatus
130getNumKeys(KnobI* knob,
131 unsigned int &nKeys,
132 int startDim = -1,
133 int endDim = -1)
134{
135 OfxKeyFramesSet keyframes;
136
137 getOfxKeyFrames(knob, keyframes, startDim, endDim);
138 nKeys = (unsigned int)keyframes.size();
139
140 return kOfxStatOK;
141}
142
143static
144OfxStatus

Callers 1

getNumKeysMethod · 0.85

Calls 2

getOfxKeyFramesFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected