7 #ifndef PXR_USD_USD_RELATIONSHIP_H
8 #define PXR_USD_USD_RELATIONSHIP_H
230 template <
class A0,
class A1>
242 :
UsdProperty(objType, prim, proxyPrimPath, propName) {}
244 SdfRelationshipSpecHandle _CreateSpec(
bool fallbackCustom=
true)
const;
245 bool _Create(
bool fallbackCustom)
const;
248 bool includeForwardingRels)
const;
250 bool _GetForwardedTargetsImpl(
SdfPathSet* visited,
253 bool *foundAnyErrors,
254 bool includeForwardingRels)
const;
257 std::string* whyNot = 0)
const;
263 #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
std::vector< class SdfPath > SdfPathVector
std::vector< UsdRelationship > UsdRelationshipVector
A std::vector of UsdRelationships.
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.