7 #ifndef PXR_USD_SDF_PAYLOAD_H
8 #define PXR_USD_SDF_PAYLOAD_H
49 const std::string &assetPath = std::string(),
85 _layerOffset = layerOffset;
93 return !(*
this == rhs);
107 return !(rhs < *
this);
112 return !(*
this < rhs);
125 std::string _assetPath;
const SdfPath & GetPrimPath() const
Returns the scene path of the prim for the payload.
SDF_API std::ostream & operator<<(std::ostream &out, const SdfPayload &payload)
Writes the string representation of SdfPayload to out.
std::vector< SdfPayload > SdfPayloadVector
SDF_API bool operator==(const SdfPayload &rhs) const
Returns whether this payload equals rhs.
const std::string & GetAssetPath() const
Returns the asset path of the layer that the payload uses.
void SetPrimPath(const SdfPath &primPath)
Sets a new prim path for the prim that the payload uses.
bool operator<=(const SdfPayload &rhs) const
const std::string & GetAssetPath() const &
SDF_API bool operator<(const SdfPayload &rhs) const
bool operator!=(const SdfPayload &rhs) const
const SdfLayerOffset & GetLayerOffset() const
Returns the layer offset associated with the payload.
friend size_t hash_value(const SdfPayload &p)
static size_t Combine(Args &&...args)
Produce a hash code by combining the hash codes of several objects.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
void SetLayerOffset(const SdfLayerOffset &layerOffset)
Sets a new layer offset.
bool operator>(const SdfPayload &rhs) const
bool operator>=(const SdfPayload &rhs) const
SDF_API SdfPayload(const std::string &assetPath=std::string(), const SdfPath &primPath=SdfPath(), const SdfLayerOffset &layerOffset=SdfLayerOffset())
void SetAssetPath(const std::string &assetPath)