24 #ifndef PXR_USD_USD_RELATIONSHIP_H
25 #define PXR_USD_USD_RELATIONSHIP_H
247 template <
class A0,
class A1>
259 :
UsdProperty(objType, prim, proxyPrimPath, propName) {}
261 SdfRelationshipSpecHandle _CreateSpec(
bool fallbackCustom=
true)
const;
262 bool _Create(
bool fallbackCustom)
const;
265 bool includeForwardingRels)
const;
267 bool _GetForwardedTargetsImpl(
SdfPathSet* visited,
270 bool *foundAnyErrors,
271 bool includeForwardingRels)
const;
280 #endif //PXR_USD_USD_RELATIONSHIP_H
USD_API bool GetTargets(SdfPathVector *targets) const
GLsizei const GLchar *const * string
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
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.
USD_API bool ClearTargets(bool removeSpec) const
USD_API bool GetForwardedTargets(SdfPathVector *targets) const
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
SIM_API const UT_StringHolder position
#define PXR_NAMESPACE_CLOSE_SCOPE
USD_API bool SetTargets(const SdfPathVector &targets) const
UsdRelationship()
Construct an invalid relationship.