24 #ifndef PXR_USD_SDF_PAYLOAD_H
25 #define PXR_USD_SDF_PAYLOAD_H
36 #include <hboost/operators.hpp>
104 _layerOffset = layerOffset;
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.
const std::string & GetAssetPath() const &
Return the asset path.
SDF_API 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.
SDF_API SdfPayload(const std::string &assetPath=std::string(), const SdfPath &primPath=SdfPath(), const SdfLayerOffset &layerOffset=SdfLayerOffset())
void SetAssetPath(const std::string &assetPath)