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

Method getFullyQualifiedName

Engine/TrackMarker.cpp:449–473  ·  view source on GitHub ↗

copied from NodeName.cpp:Node::getFullyQualifiedNameInternal()

Source from the content-addressed store, hash-verified

447
448// copied from NodeName.cpp:Node::getFullyQualifiedNameInternal()
449std::string
450TrackMarker::getFullyQualifiedName() const
451{
452 QMutexLocker l(&_imp->trackMutex);
453 TrackerContextPtr context = getContext();
454
455 NodePtr node = context->getNode();
456 std::string ret = _imp->trackScriptName;
457 NodePtr parent = node->getParentMultiInstance();
458
459 if (parent) {
460 prependGroupNameRecursive(parent, ret);
461 } else {
462 NodeCollectionPtr hasParentGroup = node->getGroup();
463 NodeGroup* isGrp = dynamic_cast<NodeGroup*>( hasParentGroup.get() );
464 if (isGrp) {
465 NodePtr grpNode = isGrp->getNode();
466 if (grpNode) {
467 prependGroupNameRecursive(grpNode, ret);
468 }
469 }
470 }
471
472 return ret;
473}
474
475void
476TrackMarker::setLabel(const std::string& label)

Callers

nothing calls this directly

Calls 5

getNodeMethod · 0.45
getGroupMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected