24 #ifndef PXR_BASE_TF_PY_OBJ_WRAPPER_H
25 #define PXR_BASE_TF_PY_OBJ_WRAPPER_H
31 #include <hboost/functional/hash.hpp>
32 #include <hboost/python/object_fwd.hpp>
33 #include <hboost/python/object_operators.hpp>
67 :
public hboost::python::api::object_operators<TfPyObjWrapper>
87 object const &
Get()
const {
105 return (
size_t) o.
ptr();
120 friend class hboost::python::api::object_operators<TfPyObjWrapper>;
121 operator object const &()
const {
126 std::shared_ptr<object> _objectPtr;
131 #endif // PXR_BASE_TF_PY_OBJ_WRAPPER_H
TF_API bool operator==(TfPyObjWrapper const &other) const
TF_API PyObject * ptr() const
friend size_t hash_value(TfPyObjWrapper const &o)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
object const & Get() const
#define PXR_NAMESPACE_CLOSE_SCOPE
TF_API bool operator!=(TfPyObjWrapper const &other) const