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

Method getUserPages

Engine/Knob.cpp:4509–4521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4507}
4508
4509void
4510KnobHolder::getUserPages(std::list<KnobPage*>& userPages) const {
4511 const KnobsVec& knobs = getKnobs();
4512
4513 for (KnobsVec::const_iterator it = knobs.begin(); it != knobs.end(); ++it) {
4514 if ( (*it)->isUserKnob() ) {
4515 KnobPage* isPage = dynamic_cast<KnobPage*>( it->get() );
4516 if (isPage) {
4517 userPages.push_back(isPage);
4518 }
4519 }
4520 }
4521}
4522
4523KnobIPtr
4524KnobHelper::createDuplicateOnHolder(KnobHolder* otherHolder,

Callers 3

restoreUserKnobsMethod · 0.45
storeKnobsLinksMethod · 0.45

Calls 5

beginMethod · 0.45
endMethod · 0.45
isUserKnobMethod · 0.45
getMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected