24 #ifndef PXR_USD_SDF_PAYLOAD_H
25 #define PXR_USD_SDF_PAYLOAD_H
102 _layerOffset = layerOffset;
110 return !(*
this == rhs);
124 return !(rhs < *
this);
129 return !(*
this < rhs);
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
GLsizei const GLchar *const * string
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 &
Return the asset path.
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)