Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::python::objects::py_function Struct Reference

#include <py_function.hpp>

Public Member Functions

template<class Caller >
 py_function (Caller const &caller)
 
template<class Caller , class Sig >
 py_function (Caller const &caller, Sig)
 
template<class Caller , class Sig >
 py_function (Caller const &caller, Sig, int min_arity, int max_arity=0)
 
 py_function (py_function const &rhs)
 
PyObject * operator() (PyObject *args, PyObject *kw) const
 
unsigned min_arity () const
 
unsigned max_arity () const
 
python::detail::signature_element
const * 
signature () const
 
python::detail::signature_element
const & 
get_return_type () const
 

Constructor & Destructor Documentation

template<class Caller >
boost::python::objects::py_function::py_function ( Caller const &  caller)
inline
template<class Caller , class Sig >
boost::python::objects::py_function::py_function ( Caller const &  caller,
Sig   
)
inline
template<class Caller , class Sig >
boost::python::objects::py_function::py_function ( Caller const &  caller,
Sig  ,
int  min_arity,
int  max_arity = 0 
)
inline
boost::python::objects::py_function::py_function ( py_function const &  rhs)
inline

Member Function Documentation

python::detail::signature_element const& boost::python::objects::py_function::get_return_type ( ) const
inline
unsigned boost::python::objects::py_function::max_arity ( ) const
inline
unsigned boost::python::objects::py_function::min_arity ( ) const
inline
PyObject* boost::python::objects::py_function::operator() ( PyObject *  args,
PyObject *  kw 
) const
inline

References boost::python::args().

python::detail::signature_element const* boost::python::objects::py_function::signature ( ) const
inline

The documentation for this struct was generated from the following file: