24 #ifndef PXR_USD_USD_RELATIONSHIP_H
25 #define PXR_USD_USD_RELATIONSHIP_H
238 template <
class A0,
class A1>
250 :
UsdProperty(objType, prim, proxyPrimPath, propName) {}
252 SdfRelationshipSpecHandle _CreateSpec(
bool fallbackCustom=
true)
const;
253 bool _Create(
bool fallbackCustom)
const;
256 bool includeForwardingRels)
const;
258 bool _GetForwardedTargets(
SdfPathSet* visited,
261 bool includeForwardingRels)
const;
270 #endif //PXR_USD_USD_RELATIONSHIP_H
USD_API bool GetTargets(SdfPathVector *targets) const
friend struct UsdPrim_TargetFinder
USD_API bool RemoveTarget(const SdfPath &target) const
USD_API bool AddTarget(const SdfPath &target, UsdListPosition position=UsdListPositionBackOfPrependList) const
USD_API bool HasAuthoredTargets() const
USD_API bool BlockTargets() const
std::vector< UsdRelationship > UsdRelationshipVector
A std::vector of UsdRelationships.
std::vector< class SdfPath > SdfPathVector
A vector of SdfPaths.
std::set< class SdfPath > SdfPathSet
A set of SdfPaths.
GLsizei const GLchar *const * string
USD_API bool ClearTargets(bool removeSpec) const
USD_API bool GetForwardedTargets(SdfPathVector *targets) const
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
USD_API bool SetTargets(const SdfPathVector &targets) const
UsdRelationship()
Construct an invalid relationship.