makePyConstructor.h File Reference

An injected constructor mechanism that works with polymorphic wrapped classes. More...

+ Include dependency graph for makePyConstructor.h:

Go to the source code of this file.

Classes

struct  TfPySequenceToListRefPtrFactory
 A boost::python result converter generator which converts standard library sequences to lists of python owned objects. More...
 

Macros

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

Functions

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.


Class Documentation

◆ TfPySequenceToListRefPtrFactory

struct TfPySequenceToListRefPtrFactory

A boost::python result converter generator which converts standard library sequences to lists of python owned objects.

Definition at line 397 of file makePyConstructor.h.