HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
makePyConstructor.h File Reference
#include "pxr/pxr.h"
#include "pxr/base/tf/api.h"
#include "pxr/base/tf/functionTraits.h"
#include "pxr/base/tf/refPtr.h"
#include "pxr/base/tf/weakPtr.h"
#include "pxr/base/tf/diagnostic.h"
#include "pxr/base/tf/pyError.h"
#include "pxr/base/tf/pyIdentity.h"
#include "pxr/base/tf/pyUtils.h"
#include "pxr/base/tf/stringUtils.h"
#include "pxr/base/arch/demangle.h"
#include <hboost/python/def_visitor.hpp>
#include <hboost/python/dict.hpp>
#include <hboost/python/errors.hpp>
#include <hboost/python/list.hpp>
#include <hboost/python/object/iterator.hpp>
#include <hboost/python/raw_function.hpp>
#include <hboost/python/tuple.hpp>
#include <hboost/python/type_id.hpp>
#include <array>
#include <string>
#include <type_traits>
#include <utility>
+ Include dependency graph for makePyConstructor.h:

Go to the source code of this file.

Classes

struct  Tf_MakePyConstructor::InitVisitor< CTOR >
 
struct  Tf_MakePyConstructor::NewVisitor< CTOR >
 
struct  Tf_MakePyConstructor::InstallPolicy< T >
 
struct  Tf_MakePyConstructor::InstallPolicy< TfRefPtr< T > >
 
struct  Tf_MakePyConstructor::_RefPtrFactoryConverter< WeakPtr, P >
 
struct  Tf_MakePyConstructor::RefPtrFactory< WeakPtr >
 
struct  Tf_MakePyConstructor::RefPtrFactory< WeakPtr >::apply< FactoryResultPtr >
 
struct  Tf_MakePyConstructor::CtorBase< SIG, EXTRA_ARITY >
 
struct  Tf_MakePyConstructor::InitCtor< SIG >
 
struct  Tf_MakePyConstructor::InitCtorWithBackReference< SIG >
 
struct  Tf_MakePyConstructor::InitCtorWithVarArgs< SIG >
 
struct  Tf_MakePyConstructor::NewCtor< SIG >
 
struct  Tf_MakePyConstructor::NewCtorWithClassReference< SIG >
 
struct  TfPyRefPtrFactory< T >
 
struct  Tf_PySequenceToListConverterRefPtrFactory< T >
 
struct  TfPySequenceToListRefPtrFactory
 
struct  TfPySequenceToListRefPtrFactory::apply< T >
 
struct  Tf_PySequenceToListConverterRefPtrFactory< T >
 
struct  Tf_MakePyConstructor::InitCtor< R(Args...)>
 
struct  Tf_MakePyConstructor::NewCtor< R(Args...)>
 
struct  Tf_MakePyConstructor::InitCtorWithVarArgs< R(Args...)>
 
struct  Tf_MakePyConstructor::InitCtorWithBackReference< R(SelfRef, Args...)>
 
struct  Tf_MakePyConstructor::NewCtorWithClassReference< R(ClsRef, Args...)>
 

Namespaces

 Tf_MakePyConstructor
 

Macros

#define TF_MAX_ARITY   7
 

Typedefs

typedef bp::object Tf_MakePyConstructor::object
 

Functions

TF_API bp::object Tf_MakePyConstructor::_DummyInit (bp::tuple const &, bp::dict const &)
 
template<typename CLS , typename T >
void Tf_MakePyConstructor::Install (object const &self, T const &t, TfErrorMark const &m)
 
template<typename T >
Tf_MakePyConstructor::InitVisitor
< typename
Tf_MakePyConstructor::InitCtor
< T > > 
TfMakePyConstructor (T *func, const std::string &doc=std::string())
 
template<typename T >
Tf_MakePyConstructor::InitVisitor
< typename
Tf_MakePyConstructor::InitCtorWithBackReference
< T > > 
TfMakePyConstructorWithBackReference (T *func, const std::string &doc=std::string())
 
template<typename T >
Tf_MakePyConstructor::InitVisitor
< typename
Tf_MakePyConstructor::InitCtorWithVarArgs
< T > > 
TfMakePyConstructorWithVarArgs (T *func, const std::string &doc=std::string())
 
template<typename T >
Tf_MakePyConstructor::NewVisitor
< typename
Tf_MakePyConstructor::NewCtor
< T > > 
TfMakePyNew (T *func, const std::string &doc=std::string())
 
template<typename T >
Tf_MakePyConstructor::NewVisitor
< typename
Tf_MakePyConstructor::NewCtorWithClassReference
< T > > 
TfMakePyNewWithClassReference (T *func, const std::string &doc=std::string())
 

Detailed Description

An injected constructor mechanism that works with polymorphic wrapped classes.

Definition in file makePyConstructor.h.

Macro Definition Documentation

#define TF_MAX_ARITY   7

Definition at line 33 of file makePyConstructor.h.

Function Documentation

template<typename T >
Tf_MakePyConstructor::InitVisitor<typename Tf_MakePyConstructor::InitCtor<T> > TfMakePyConstructor ( T *  func,
const std::string doc = std::string() 
)

Definition at line 335 of file makePyConstructor.h.

template<typename T >
Tf_MakePyConstructor::InitVisitor<typename Tf_MakePyConstructor::InitCtorWithBackReference<T> > TfMakePyConstructorWithBackReference ( T *  func,
const std::string doc = std::string() 
)

Definition at line 345 of file makePyConstructor.h.

template<typename T >
Tf_MakePyConstructor::InitVisitor<typename Tf_MakePyConstructor::InitCtorWithVarArgs<T> > TfMakePyConstructorWithVarArgs ( T *  func,
const std::string doc = std::string() 
)

Definition at line 355 of file makePyConstructor.h.

template<typename T >
Tf_MakePyConstructor::NewVisitor<typename Tf_MakePyConstructor::NewCtor<T> > TfMakePyNew ( T *  func,
const std::string doc = std::string() 
)

Definition at line 365 of file makePyConstructor.h.

template<typename T >
Tf_MakePyConstructor::NewVisitor<typename Tf_MakePyConstructor::NewCtorWithClassReference<T> > TfMakePyNewWithClassReference ( T *  func,
const std::string doc = std::string() 
)

Definition at line 375 of file makePyConstructor.h.