Bases: pybindgen.cppclass_typehandlers.CppClassParameterBase
Class parameter “by-value” handler
Parameters: |
|
---|
Write some code before calling the Python method.
parses python args to get C++ value
Bases: pybindgen.typehandlers.base.Parameter
Base class for all C++ Class parameter handlers
Parameters: |
|
---|
Bases: pybindgen.cppclass_typehandlers.CppClassParameterBase
Class* handlers
Type handler for a pointer-to-class parameter (MyClass*)
Parameters: |
|
---|
Note
Only arguments which are instances of C++ classes wrapped by PyBindGen can be used as custodians.
foo
parses python args to get C++ value
Bases: pybindgen.cppclass_typehandlers.CppClassReturnValueBase
Class* return handler
Parameters: |
|
---|
Note
Only arguments which are instances of C++ classes wrapped by PyBindGen can be used as custodians.
See ReturnValue.convert_c_to_python
See ReturnValue.convert_python_to_c
See ReturnValue.get_c_error_return
Bases: pybindgen.cppclass_typehandlers.CppClassParameterBase
Class& handlers
Parameters: |
|
---|
Write some code before calling the Python method.
parses python args to get C++ value
Bases: pybindgen.cppclass_typehandlers.CppClassReturnValueBase
Class return handlers
see ReturnValue.convert_c_to_python
see ReturnValue.convert_python_to_c
See ReturnValue.get_c_error_return
Bases: pybindgen.cppclass_typehandlers.CppClassReturnValueBase
Class return handlers
override to fix the ctype parameter with namespace information
see ReturnValue.convert_c_to_python
see ReturnValue.convert_python_to_c
See ReturnValue.get_c_error_return
Bases: pybindgen.typehandlers.base.ReturnValue
Class return handlers – base class
Scans the return value and parameters for custodian/ward options, converts them to add_custodian_and_ward API calls. Wrappers that implement custodian_and_ward are: CppMethod, Function, and CppConstructor.