24 #ifndef PXR_BASE_TF_PY_OBJECT_FINDER_H
25 #define PXR_BASE_TF_PY_OBJECT_FINDER_H
32 #include <hboost/python/handle.hpp>
33 #include <hboost/python/object.hpp>
44 template <
class T,
class PtrType>
48 using namespace hboost::python;
50 void *p =
const_cast<void *
>(objPtr);
60 template <
class T,
class PtrType>
71 #endif // PXR_BASE_TF_PY_OBJECT_FINDER_H
TF_API hboost::python::object Tf_FindPythonObject(void const *objPtr, std::type_info const &type)
virtual ~Tf_PyObjectFinder()
virtual hboost::python::object Find(void const *objPtr) const
virtual hboost::python::object Find(void const *objPtr) const =0
TF_API void Tf_RegisterPythonObjectFinderInternal(std::type_info const &type, Tf_PyObjectFinderBase const *finder)
virtual TF_API ~Tf_PyObjectFinderBase()
void Tf_RegisterPythonObjectFinder()
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
PyObject * Tf_PyGetPythonIdentity(Ptr const &ptr)