Trees | Indices | Help |
|
---|
|
object --+ | decl_wrapper.decl_wrapper_t --+ | calldef_t
base class, for code generator configration, for function declaration classes.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Class Variables | |
BOOST_PYTHON_MAX_ARITY = 10 Boost.Python configuration macro value. |
|
Inherited from |
Properties | |
call_policies reference to call policies class.Default value is calculated at runtime, based on return value. |
|
use_keywords boolean, if True, allows to call function from Python using keyword arguments.Default value is True. |
|
create_with_signature boolean, if True Py++ will generate next code: def( ..., function type( function ref )Thus, the generated code is safe, when a user creates function overloading.Default value is computed, based on information from the declarations tree |
|
use_default_arguments boolean, if True Py++ will generate code that will set default argumentsDefault value is True. |
|
overridable Check if the method can be overridden. |
|
non_overridable_reason returns the reason the function could not be overriden |
|
transformations return list of function transformations that should be applied on the function |
|
Inherited from |
Method Details |
|
returns True, if function - wrapper is needed The functionality by this function is uncomplete. So please don't use it in your code. |
mark this function as non-overridable Not all fucntions could be overrided from Python, for example virtual function that returns non const reference to a member variable. Py++ allows you to mark these functions and provide and explanation to the user. |
add new function transformation. transformer_creators - list of transformer creators, which should be applied on the function keywd - keyword arguments for function_transformation_t class initialization |
Class Variable Details |
BOOST_PYTHON_MAX_ARITYBoost.Python configuration macro value. A function has more than BOOST_PYTHON_MAX_ARITY arguments, will not compile. You should adjust BOOST_PYTHON_MAX_ARITY macro. For more information see: http://mail.python.org/pipermail/c++-sig/2002-June/001554.html
|
Property Details |
call_policiesreference to call policies class.Default value is calculated at runtime, based on return value.
|
use_keywordsboolean, if True, allows to call function from Python using keyword arguments.Default value is True.
|
create_with_signatureboolean, if True Py++ will generate next code: def( ..., function type( function ref )Thus, the generated code is safe, when a user creates function overloading.Default value is computed, based on information from the declarations tree
|
use_default_argumentsboolean, if True Py++ will generate code that will set default argumentsDefault value is True.
|
overridableCheck if the method can be overridden.
|
non_overridable_reasonreturns the reason the function could not be overriden |
transformationsreturn list of function transformations that should be applied on the function |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Oct 20 08:51:12 2008 | http://epydoc.sourceforge.net |