24 #ifndef PXR_USD_USD_PRIM_DATA_HANDLE_H
25 #define PXR_USD_USD_PRIM_DATA_HANDLE_H
29 #include <hboost/functional/hash.hpp>
30 #include <hboost/intrusive_ptr.hpp>
37 #define USD_CHECK_ALL_PRIM_ACCESSES
90 #ifdef USD_CHECK_ALL_PRIM_ACCESSES
99 explicit operator bool()
const {
112 return lhs._p == rhs._p;
118 return !(lhs == rhs);
141 #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)
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
GLsizei const GLchar *const * string
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
USD_API void Usd_IssueFatalPrimAccessError(Usd_PrimData const *p)
friend void swap(Usd_PrimDataHandle &lhs, Usd_PrimDataHandle &rhs)
element_type * operator->() const
size_t hash_value(const CH_ChannelRef &ref)