MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / getNumOptions

Method getNumOptions

Engine/PyParameter.cpp:1813–1821  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1811}
1812
1813int
1814ChoiceParam::getNumOptions() const
1815{
1816 KnobChoicePtr knob = _choiceKnob.lock();
1817 if (!knob) {
1818 return 0;
1819 }
1820 return knob->getNumEntries();
1821}
1822
1823QStringList
1824ChoiceParam::getOptions() const

Callers 1

Calls 2

getNumEntriesMethod · 0.80
lockMethod · 0.45

Tested by

no test coverage detected