24 #ifndef PXR_USD_USD_PRIM_DATA_HANDLE_H
25 #define PXR_USD_USD_PRIM_DATA_HANDLE_H
31 #include <hboost/intrusive_ptr.hpp>
38 #define USD_CHECK_ALL_PRIM_ACCESSES
91 #ifdef USD_CHECK_ALL_PRIM_ACCESSES
101 explicit operator bool()
const {
114 return lhs._p == rhs._p;
120 return !(lhs == rhs);
130 return TfHash()(h._p.get());
143 #endif // PXR_USD_USD_PRIM_DATA_HANDLE_H
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)
GLsizei const GLchar *const * string
USD_API void Usd_ThrowExpiredPrimAccessError(Usd_PrimData const *p)
Usd_PrimDataHandle(Usd_PrimDataConstPtr primData)
friend size_t hash_value(const Usd_PrimDataHandle &h)
hboost::intrusive_ptr< Usd_PrimData > Usd_PrimDataIPtr
void intrusive_ptr_release(const class Usd_PrimData *prim)
void swap(Usd_PrimDataHandle &other)
hboost::intrusive_ptr< const Usd_PrimData > Usd_PrimDataConstIPtr
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
void intrusive_ptr_add_ref(const class Usd_PrimData *prim)
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