Lines Matching refs:Sdf_PathNode

103         new SdfPath(Sdf_PathNode::GetAbsoluteRootNode(), nullptr);  in AbsoluteRootPath()
111 new SdfPath(Sdf_PathNode::GetRelativeRootNode(), nullptr); in ReflexiveRelativePath()
139 (_primPart->GetNodeType() == Sdf_PathNode::PrimNode || in IsPrimPath()
147 (_primPart->GetNodeType() == Sdf_PathNode::PrimNode || in IsAbsoluteRootOrPrimPath()
156 Sdf_PathNode const *primNode = _primPart.get(); in IsRootPrimPath()
164 if (Sdf_PathNode const *propNode = _propPart.get()) { in IsPropertyPath()
166 return nodeType == Sdf_PathNode::PrimPropertyNode || in IsPropertyPath()
167 nodeType == Sdf_PathNode::RelationalAttributeNode; in IsPropertyPath()
175 if (Sdf_PathNode const *propNode = _propPart.get()) { in IsPrimPropertyPath()
176 return propNode->GetNodeType() == Sdf_PathNode::PrimPropertyNode; in IsPrimPropertyPath()
184 if (Sdf_PathNode const *propNode = _propPart.get()) { in IsNamespacedPropertyPath()
188 Sdf_PathNode::PrimPropertyNode) || in IsNamespacedPropertyPath()
190 Sdf_PathNode::RelationalAttributeNode)); in IsNamespacedPropertyPath()
200 if (Sdf_PathNode const *primNode = _primPart.get()) { in IsPrimVariantSelectionPath()
202 Sdf_PathNode::PrimVariantSelectionNode; in IsPrimVariantSelectionPath()
212 if (Sdf_PathNode const *primNode = _primPart.get()) { in IsPrimOrPrimVariantSelectionPath()
215 nodeType == Sdf_PathNode::PrimNode || in IsPrimOrPrimVariantSelectionPath()
216 nodeType == Sdf_PathNode::PrimVariantSelectionNode || in IsPrimOrPrimVariantSelectionPath()
225 if (Sdf_PathNode const *primNode = _primPart.get()) { in ContainsPrimVariantSelection()
234 if (Sdf_PathNode const *propNode = _propPart.get()) { in ContainsTargetPath()
242 if (Sdf_PathNode const *propNode = _propPart.get()) { in IsRelationalAttributePath()
243 return propNode->GetNodeType() == Sdf_PathNode::RelationalAttributeNode; in IsRelationalAttributePath()
250 if (Sdf_PathNode const *propNode = _propPart.get()) { in IsTargetPath()
251 return propNode->GetNodeType() == Sdf_PathNode::TargetNode; in IsTargetPath()
258 if (Sdf_PathNode const *propNode = _propPart.get()) { in IsMapperPath()
259 return propNode->GetNodeType() == Sdf_PathNode::MapperNode; in IsMapperPath()
266 if (Sdf_PathNode const *propNode = _propPart.get()) { in IsMapperArgPath()
267 return propNode->GetNodeType() == Sdf_PathNode::MapperArgNode; in IsMapperArgPath()
274 if (Sdf_PathNode const *propNode = _propPart.get()) { in IsExpressionPath()
275 return propNode->GetNodeType() == Sdf_PathNode::ExpressionNode; in IsExpressionPath()
284 return Sdf_PathNode::GetPathAsToken(_primPart.get(), _propPart.get()); in GetAsToken()
299 return Sdf_PathNode::GetPathToken(_primPart.get(), _propPart.get()); in GetToken()
326 Sdf_PathNode const *prop = _propPart.get(); in GetPrefixes()
327 Sdf_PathNode const *prim = _primPart.get(); in GetPrefixes()
393 static Sdf_PathNode const *
394 _GetNextTargetNode(Sdf_PathNode const *curNode) in _GetNextTargetNode()
401 && curNode->GetNodeType() != Sdf_PathNode::TargetNode in _GetNextTargetNode()
402 && curNode->GetNodeType() != Sdf_PathNode::MapperNode) { in _GetNextTargetNode()
413 Sdf_PathNode const *targetNode = _GetNextTargetNode(_propPart.get()); in GetTargetPath()
422 for (Sdf_PathNode const *targetNode = _GetNextTargetNode(_propPart.get()); in GetAllTargetPathsRecursively()
436 const Sdf_PathNode::VariantSelectionType& sel = in GetVariantSelection()
460 Sdf_PathNode const *propNode = _propPart.get(); in HasPrefix()
461 Sdf_PathNode const *prefixPropNode = prefix._propPart.get(); in HasPrefix()
470 Sdf_PathNode const *primNode = _primPart.get(); in HasPrefix()
477 Sdf_PathNode const *prefixPrimNode = prefix._primPart.get(); in HasPrefix()
501 Sdf_PathNode const *propNode = _propPart.get()->GetParentNode(); in GetParentPath()
513 Sdf_PathNode const *primNode = _primPart.get(); in GetParentPath()
516 (primNode != Sdf_PathNode::GetRelativeRootNode() && in GetParentPath()
521 return SdfPath(Sdf_PathNode::FindOrCreatePrim( in GetParentPath()
529 Sdf_PathNode const *primNode = _primPart.get(); in GetPrimPath()
531 while (primNode && primNode->GetNodeType() != Sdf_PathNode::PrimNode) { in GetPrimPath()
540 Sdf_PathNode const *primNode = _primPart.get(); in GetPrimOrPrimVariantSelectionPath()
543 (primNode->GetNodeType() != Sdf_PathNode::PrimNode && in GetPrimOrPrimVariantSelectionPath()
544 primNode->GetNodeType() != Sdf_PathNode::PrimVariantSelectionNode)){ in GetPrimOrPrimVariantSelectionPath()
556 _AppendNode(const SdfPath &path, Sdf_PathNode const *node) { in _AppendNode()
559 case Sdf_PathNode::PrimNode: in _AppendNode()
561 case Sdf_PathNode::PrimPropertyNode: in _AppendNode()
563 case Sdf_PathNode::PrimVariantSelectionNode: in _AppendNode()
565 const Sdf_PathNode::VariantSelectionType& selection = in _AppendNode()
570 case Sdf_PathNode::TargetNode: in _AppendNode()
572 case Sdf_PathNode::RelationalAttributeNode: in _AppendNode()
574 case Sdf_PathNode::MapperNode: in _AppendNode()
576 case Sdf_PathNode::MapperArgNode: in _AppendNode()
578 case Sdf_PathNode::ExpressionNode: in _AppendNode()
595 std::vector<Sdf_PathNode const *> primNodes; in StripAllVariantSelections()
596 Sdf_PathNode const *curNode = _primPart.get(); in StripAllVariantSelections()
598 if (curNode->GetNodeType() != Sdf_PathNode::PrimVariantSelectionNode) in StripAllVariantSelections()
634 Sdf_PathNode::NodeType primNodeType = _primPart->GetNodeType(); in AppendPath()
635 if (_propPart || (primNodeType != Sdf_PathNode::RootNode && in AppendPath()
636 primNodeType != Sdf_PathNode::PrimNode && in AppendPath()
637 primNodeType != Sdf_PathNode::PrimVariantSelectionNode)) { in AppendPath()
644 vector<Sdf_PathNode const *> tailNodes; in AppendPath()
647 Sdf_PathNode const *curNode = newSuffix._propPart.get(); in AppendPath()
653 while (curNode != Sdf_PathNode::GetRelativeRootNode()) { in AppendPath()
658 if ((tailNodes.back()->GetNodeType() == Sdf_PathNode::PrimPropertyNode) && in AppendPath()
779 Sdf_PathNode::FindOrCreatePrim(_primPart.get(), childName); in AppendChild()
862 Sdf_PathNode::FindOrCreatePrimProperty(_primPart.get(), propName); in AppendProperty()
879 return SdfPath(Sdf_PathNode:: in AppendVariantSelection()
895 return SdfPath(_primPart, Sdf_PathNode:: in AppendTarget()
910 Sdf_PathNode::FindOrCreateRelationalAttribute( in AppendRelationalAttribute()
927 Sdf_PathNode::FindOrCreateMapper(_propPart.get(), targetPath) }; in AppendMapper()
941 Sdf_PathNode::FindOrCreateMapperArg(_propPart.get(), argName) }; in AppendMapperArg()
951 Sdf_PathNode::FindOrCreateExpression(_propPart.get()) }; in AppendExpression()
1045 using Sdf_PathNodeConstPtr = Sdf_PathNode const *; in _ReplacePrimPrefix()
1089 case Sdf_PathNode::PrimNode: in _ReplacePrimPrefix()
1090 newPath._primPart = Sdf_PathNode::FindOrCreatePrim( in _ReplacePrimPrefix()
1108 using Sdf_PathNodeConstPtr = Sdf_PathNode const *; in _ReplaceTargetPathPrefixes()
1111 Sdf_PathNode const *propNode = _propPart.get(); in _ReplaceTargetPathPrefixes()
1137 case Sdf_PathNode::PrimPropertyNode: in _ReplaceTargetPathPrefixes()
1138 newPath._propPart = Sdf_PathNode::FindOrCreatePrimProperty( in _ReplaceTargetPathPrefixes()
1141 case Sdf_PathNode::TargetNode: in _ReplaceTargetPathPrefixes()
1146 case Sdf_PathNode::MapperNode: in _ReplaceTargetPathPrefixes()
1164 using Sdf_PathNodeConstPtr = Sdf_PathNode const *; in _ReplacePropPrefix()
1211 case Sdf_PathNode::PrimPropertyNode: in _ReplacePropPrefix()
1212 newPath._propPart = Sdf_PathNode::FindOrCreatePrimProperty( in _ReplacePropPrefix()
1215 case Sdf_PathNode::TargetNode: in _ReplacePropPrefix()
1224 case Sdf_PathNode::MapperNode: in _ReplacePropPrefix()
1262 using Sdf_PathNodeConstPtr = Sdf_PathNode const *; in ReplacePrefix()
1327 Sdf_PathNode const *path1Node; in GetCommonPrefix()
1328 Sdf_PathNode const *path2Node; in GetCommonPrefix()
1395 Sdf_PathNode const *thisProp = _propPart.get(); in RemoveCommonSuffix()
1396 Sdf_PathNode const *otherProp = otherPath._propPart.get(); in RemoveCommonSuffix()
1416 Sdf_PathNode const *thisPrim = _primPart.get(); in RemoveCommonSuffix()
1417 Sdf_PathNode const *otherPrim = otherPath._primPart.get(); in RemoveCommonSuffix()
1455 Sdf_PathNode const *propNode = _propPart.get(); in ReplaceTargetPath()
1456 Sdf_PathNode::NodeType type = _propPart->GetNodeType(); in ReplaceTargetPath()
1457 if (type == Sdf_PathNode::TargetNode) { in ReplaceTargetPath()
1459 } else if (type == Sdf_PathNode::RelationalAttributeNode) { in ReplaceTargetPath()
1462 } else if (type == Sdf_PathNode::MapperNode) { in ReplaceTargetPath()
1464 } else if (type == Sdf_PathNode::MapperArgNode) { in ReplaceTargetPath()
1467 } else if (type == Sdf_PathNode::ExpressionNode) { in ReplaceTargetPath()
1511 Sdf_PathNode const *curNode = _primPart.get(); in MakeAbsolutePath()
1513 vector<Sdf_PathNode const *> relNodes(numNodes); in MakeAbsolutePath()
1521 for (Sdf_PathNode const *node: relNodes) { in MakeAbsolutePath()
1595 vector<Sdf_PathNode const *> relNodes; in MakeRelativePath()
1604 Sdf_PathNode const *curThisNode = _primPart.get(); in MakeRelativePath()
1605 Sdf_PathNode const *curAnchorNode = anchor._primPart.get(); in MakeRelativePath()
1897 _LessThanCompareNodes(Sdf_PathNode const *l, Sdf_PathNode const *r) in _LessThanCompareNodes()
1929 Sdf_PathNode const *lp = l->GetParentNode(); in _LessThanCompareNodes()
1930 Sdf_PathNode const *rp = r->GetParentNode(); in _LessThanCompareNodes()
1937 return l->Compare<Sdf_PathNode::LessThan>(*r); in _LessThanCompareNodes()
1943 Sdf_PathNode const *lNode = lhs._primPart.get(); in _LessThanInternal()
1944 Sdf_PathNode const *rNode = rhs._primPart.get(); in _LessThanInternal()
2116 const Sdf_PathNode* propPart = nullptr; in operator ++()
2117 const Sdf_PathNode* primPart = nullptr; in operator ++()