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

Function prependGroupNameRecursive

Engine/TrackMarker.cpp:435–446  ·  view source on GitHub ↗

copy-pasted from NodeName.cpp

Source from the content-addressed store, hash-verified

433
434// copy-pasted from NodeName.cpp
435static void
436prependGroupNameRecursive(const NodePtr& group,
437 std::string& name)
438{
439 name.insert(0, ".");
440 name.insert( 0, group->getScriptName_mt_safe() );
441 NodeCollectionPtr hasParentGroup = group->getGroup();
442 NodeGroupPtr isGrp = std::dynamic_pointer_cast<NodeGroup>(hasParentGroup);
443 if (isGrp) {
444 prependGroupNameRecursive(isGrp->getNode(), name);
445 }
446}
447
448// copied from NodeName.cpp:Node::getFullyQualifiedNameInternal()
449std::string

Callers 1

getFullyQualifiedNameMethod · 0.70

Calls 4

insertMethod · 0.45
getScriptName_mt_safeMethod · 0.45
getGroupMethod · 0.45
getNodeMethod · 0.45

Tested by

no test coverage detected