HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyIdentity.h File Reference
#include "pxr/pxr.h"
#include "pxr/base/tf/api.h"
#include "pxr/base/tf/pyLock.h"
#include "pxr/base/tf/pyUtils.h"
#include "pxr/base/arch/demangle.h"
#include "pxr/base/tf/diagnostic.h"
#include "pxr/base/tf/refPtr.h"
#include "pxr/base/tf/safeTypeCompare.h"
#include "pxr/base/tf/stringUtils.h"
#include "pxr/base/tf/weakPtr.h"
#include <hboost/python/class.hpp>
#include <hboost/python/handle.hpp>
#include <hboost/python/object.hpp>
#include <hboost/type_traits/is_base_of.hpp>
#include <hboost/utility.hpp>
#include "pxr/base/tf/hashmap.h"
+ Include dependency graph for pyIdentity.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hboost::python::pointee< PXR_NS::TfWeakPtrFacade< X, Y > >
 
struct  hboost::python::pointee< PXR_NS::TfRefPtr< T > >
 
struct  Tf_PyIdentityHelper
 
struct  Tf_PyOwnershipPtrMap
 
struct  Tf_PyOwnershipHelper< Ptr, Enable >
 
struct  Tf_PyOwnershipHelper< Ptr, typename hboost::enable_if< hboost::mpl::and_< hboost::is_same< TfRefPtr< typename Ptr::DataType >, Ptr >, hboost::is_base_of< TfRefBase, typename Ptr::DataType > > >::type >
 
struct  Tf_PyOwnershipHelper< Ptr, typename hboost::enable_if< hboost::mpl::and_< hboost::is_same< TfRefPtr< typename Ptr::DataType >, Ptr >, hboost::is_base_of< TfRefBase, typename Ptr::DataType > > >::type >::_RefPtrHolder
 
struct  Tf_PyIsRefPtr< Ptr >
 
struct  Tf_PyIsRefPtr< TfRefPtr< T > >
 

Namespaces

 hboost
 
 hboost::python
 

Functions

template<class Ptr >
void Tf_PyReleasePythonIdentity (Ptr const &ptr, PyObject *obj)
 
void Tf_PyOwnershipRefBaseUniqueChanged (TfRefBase const *refBase, bool isNowUnique)
 
template<class Ptr >
hboost::enable_if
< Tf_PyIsRefPtr< Ptr > >::type 
Tf_PySetPythonIdentity (Ptr const &, PyObject *)
 
template<class Ptr >
hboost::disable_if
< Tf_PyIsRefPtr< Ptr > >::type 
Tf_PySetPythonIdentity (Ptr const &ptr, PyObject *obj)
 
template<class Ptr >
PyObject * Tf_PyGetPythonIdentity (Ptr const &ptr)
 
template<class Ptr >
void Tf_PyRemovePythonOwnership (Ptr const &t, PyObject *obj)
 
template<class Ptr >
void Tf_PyAddPythonOwnership (Ptr const &t, const void *uniqueId, PyObject *obj)
 

Function Documentation

template<class Ptr >
void Tf_PyAddPythonOwnership ( Ptr const t,
const void uniqueId,
PyObject *  obj 
)

Definition at line 263 of file pyIdentity.h.

template<class Ptr >
PyObject* Tf_PyGetPythonIdentity ( Ptr const ptr)

Definition at line 250 of file pyIdentity.h.

void Tf_PyOwnershipRefBaseUniqueChanged ( TfRefBase const refBase,
bool  isNowUnique 
)
template<class Ptr >
void Tf_PyReleasePythonIdentity ( Ptr const ptr,
PyObject *  obj 
)

Definition at line 96 of file pyIdentity.h.

template<class Ptr >
void Tf_PyRemovePythonOwnership ( Ptr const t,
PyObject *  obj 
)

Definition at line 257 of file pyIdentity.h.

template<class Ptr >
hboost::enable_if<Tf_PyIsRefPtr<Ptr> >::type Tf_PySetPythonIdentity ( Ptr const ,
PyObject *   
)

Definition at line 233 of file pyIdentity.h.

template<class Ptr >
hboost::disable_if<Tf_PyIsRefPtr<Ptr> >::type Tf_PySetPythonIdentity ( Ptr const ptr,
PyObject *  obj 
)

Definition at line 239 of file pyIdentity.h.