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

Function prependGroupNameRecursive

Engine/NodeName.cpp:163–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163static void
164prependGroupNameRecursive(const NodePtr& group,
165 std::string& name)
166{
167 name.insert(0, ".");
168 name.insert( 0, group->getScriptName_mt_safe() );
169 NodeCollectionPtr hasParentGroup = group->getGroup();
170 NodeGroupPtr isGrp = std::dynamic_pointer_cast<NodeGroup>(hasParentGroup);
171 if (isGrp) {
172 prependGroupNameRecursive(isGrp->getNode(), name);
173 }
174}
175
176std::string
177Node::getFullyQualifiedNameInternal(const std::string& scriptName) const

Callers 1

Calls 4

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

Tested by

no test coverage detected