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/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/preprocessor/iterate.hpp>
#include <hboost/preprocessor/punctuation/comma_if.hpp>
#include <hboost/preprocessor/repetition/enum.hpp>
#include <hboost/preprocessor/repetition/enum_binary_params.hpp>
#include <hboost/preprocessor/repetition/enum_params.hpp>
#include <hboost/preprocessor/repetition/enum_trailing_binary_params.hpp>
#include <hboost/preprocessor/repetition/enum_trailing_params.hpp>
#include <hboost/preprocessor/repetition/repeat.hpp>
#include <hboost/preprocessor/seq/for_each.hpp>
#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 <string>
#include <HBOOST_PP_ITERATE()>
+ 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 >
 
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 >
 

Namespaces

 Tf_MakePyConstructor
 

Macros

#define TF_MAX_ARITY   7
 
#define HBOOST_PP_ITERATION_LIMITS   (0, TF_MAX_ARITY)
 
#define HBOOST_PP_FILENAME_1   "pxr/base/tf/makePyConstructor.h"
 

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 HBOOST_PP_FILENAME_1   "pxr/base/tf/makePyConstructor.h"

Definition at line 329 of file makePyConstructor.h.

#define HBOOST_PP_ITERATION_LIMITS   (0, TF_MAX_ARITY)

Definition at line 328 of file makePyConstructor.h.

#define TF_MAX_ARITY   7

Definition at line 35 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 341 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 351 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 361 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 371 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 381 of file makePyConstructor.h.