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::function Struct Reference

#include <function.hpp>

Inheritance diagram for boost::python::objects::function:
Collaboration diagram for boost::python::objects::function:

Public Member Functions

 function (py_function const &, python::detail::keyword const *names_and_defaults, unsigned num_keywords)
 
 ~function ()
 
PyObject * call (PyObject *, PyObject *) const
 
object const & doc () const
 
void doc (object const &x)
 
object const & name () const
 
object const & get_namespace () const
 

Static Public Member Functions

static void add_to_namespace (object const &name_space, char const *name, object const &attribute)
 
static void add_to_namespace (object const &name_space, char const *name, object const &attribute, char const *doc)
 

Friends

class function_doc_signature_generator
 

Constructor & Destructor Documentation

boost::python::objects::function::function ( py_function const &  ,
python::detail::keyword const *  names_and_defaults,
unsigned  num_keywords 
)
boost::python::objects::function::~function ( )

Member Function Documentation

static void boost::python::objects::function::add_to_namespace ( object const &  name_space,
char const *  name,
object const &  attribute 
)
static
static void boost::python::objects::function::add_to_namespace ( object const &  name_space,
char const *  name,
object const &  attribute,
char const *  doc 
)
static
PyObject* boost::python::objects::function::call ( PyObject *  ,
PyObject *   
) const
object const & boost::python::objects::function::doc ( ) const
inline
void boost::python::objects::function::doc ( object const &  x)
inline

References boost::flyweights::x.

object const& boost::python::objects::function::get_namespace ( ) const
inline
object const & boost::python::objects::function::name ( ) const
inline

Friends And Related Function Documentation

friend class function_doc_signature_generator
friend

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