24 #ifndef PXR_USD_USD_RESOLVER_H
25 #define PXR_USD_USD_RESOLVER_H
59 return _curNode != _lastNode;
124 friend class Usd_Resolver;
127 const SdfLayerRefPtrVector::const_iterator& curLayer)
128 : _curNode(curNode), _curLayer(curLayer) { }
131 SdfLayerRefPtrVector::const_iterator _curLayer;
141 void _SkipEmptyNodes();
144 bool _skipEmptyNodes;
148 SdfLayerRefPtrVector::const_iterator _curLayer;
149 SdfLayerRefPtrVector::const_iterator _lastLayer;
154 #endif // PXR_USD_USD_RESOLVER_H
USD_API Usd_Resolver(const PcpPrimIndex *index, bool skipEmptyNodes=true)
PcpNodeRef GetNode() const
USD_API const PcpPrimIndex * GetPrimIndex() const
const SdfPath & GetLocalPath() const
SdfPath GetLocalPath(TfToken const &propName) const
USD_API PcpNodeRef GetNode() const
const SdfLayerRefPtr & GetLayer() const
SDF_API SdfPath AppendProperty(TfToken const &propName) const
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
USD_API const SdfPath & GetLocalPath() const
Returns a translated path for the current PcpNode and Layer.
#define PXR_NAMESPACE_CLOSE_SCOPE
SdfPath GetLocalPath(TfToken const &propName) const
USD_API const SdfLayerRefPtr & GetLayer() const
USD_API Position GetPosition() const
bool IsValid() const
Returns true when there is a current Node and Layer.
bool IsEmpty() const
Returns true iff this token contains the empty string "".