7 #ifndef PXR_BASE_TF_PY_OBJECT_FINDER_H
8 #define PXR_BASE_TF_PY_OBJECT_FINDER_H
15 #include "pxr/external/boost/python/handle.hpp"
16 #include "pxr/external/boost/python/object.hpp"
27 template <
class T,
class PtrType>
31 using namespace pxr_boost::python;
33 void *p =
const_cast<void *
>(objPtr);
43 template <
class T,
class PtrType>
54 #endif // PXR_BASE_TF_PY_OBJECT_FINDER_H
virtual ~Tf_PyObjectFinder()
TF_API void Tf_RegisterPythonObjectFinderInternal(std::type_info const &type, Tf_PyObjectFinderBase const *finder)
virtual TF_API ~Tf_PyObjectFinderBase()
GLint GLint GLsizei GLint GLenum GLenum type
TF_API pxr_boost::python::object Tf_FindPythonObject(void const *objPtr, std::type_info const &type)
void Tf_RegisterPythonObjectFinder()
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
virtual pxr_boost::python::object Find(void const *objPtr) const
#define PXR_NAMESPACE_CLOSE_SCOPE
PyObject * Tf_PyGetPythonIdentity(Ptr const &ptr)
virtual pxr_boost::python::object Find(void const *objPtr) const =0