7 #ifndef PXR_USD_USD_PRIM_DATA_HANDLE_H
8 #define PXR_USD_USD_PRIM_DATA_HANDLE_H
20 #define USD_CHECK_ALL_PRIM_ACCESSES
73 #ifdef USD_CHECK_ALL_PRIM_ACCESSES
83 explicit operator bool()
const {
96 return lhs._p == rhs._p;
102 return !(lhs == rhs);
125 #endif // PXR_USD_USD_PRIM_DATA_HANDLE_H
void TfDelegatedCountDecrement(const class Usd_PrimData *prim) noexcept
Usd_PrimDataHandle(const Usd_PrimDataIPtr &primData)
friend element_type * get_pointer(const Usd_PrimDataHandle &h)
friend bool operator==(const Usd_PrimDataHandle &lhs, const Usd_PrimDataHandle &rhs)
Usd_PrimDataHandle(const Usd_PrimDataConstIPtr &primData)
USD_API void Usd_ThrowExpiredPrimAccessError(Usd_PrimData const *p)
Usd_PrimDataHandle(Usd_PrimDataConstPtr primData)
void reset() noexcept(DecrementIsNoExcept())
friend size_t hash_value(const Usd_PrimDataHandle &h)
RawPtrType get() const noexcept
Return the underlying pointer.
void swap(Usd_PrimDataHandle &other)
void TfDelegatedCountIncrement(const class Usd_PrimData *prim) noexcept
Usd_PrimDataConstIPtr::element_type element_type
std::string GetDescription(SdfPath const &proxyPrimPath) const
bool Usd_IsDead(Usd_PrimData const *p)
Usd_PrimDataHandle(Usd_PrimDataPtr primData)
Usd_PrimData * Usd_PrimDataPtr
const Usd_PrimData * Usd_PrimDataConstPtr
GLfloat GLfloat GLfloat GLfloat h
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
friend bool operator!=(const Usd_PrimDataHandle &lhs, const Usd_PrimDataHandle &rhs)
#define PXR_NAMESPACE_CLOSE_SCOPE
friend void swap(Usd_PrimDataHandle &lhs, Usd_PrimDataHandle &rhs)
element_type * operator->() const
PXR_NAMESPACE_OPEN_SCOPE constexpr struct TfDelegatedCountIncrementTagType TfDelegatedCountIncrementTag
void swap(TfDelegatedCountPtr &other) noexcept
Swap this object's held pointer with other's.