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 Namespace Reference

Namespaces

 detail
 

Classes

struct  additional_instance_size
 
struct  caller_py_function_impl
 
struct  cast_generator
 
struct  class_base
 
struct  class_cref_wrapper
 
struct  class_metadata
 
struct  class_value_wrapper
 
struct  dynamic_cast_generator
 
struct  dynamic_id_generator
 
struct  enum_base
 
struct  forward
 
struct  full_py_function_impl
 
struct  function
 
class  function_doc_signature_generator
 
struct  implicit_cast_generator
 
struct  instance
 
struct  iterator_range
 
struct  make_holder
 
struct  make_instance
 
struct  make_instance_impl
 
struct  make_ptr_instance
 
struct  non_polymorphic_id_generator
 
struct  pointer_holder
 
struct  pointer_holder_back_reference
 
struct  polymorphic_id_generator
 
struct  py_function
 
struct  py_function_impl_base
 
struct  reference_to_value
 
struct  register_base_of
 
struct  select_held_type
 
struct  signature_py_function_impl
 
struct  stl_input_iterator_impl
 
struct  unforward
 
struct  unforward< reference_to_value< T > >
 
struct  unforward_cref
 
struct  unforward_cref< reference_to_value< T > >
 
struct  value_holder
 
struct  value_holder_back_reference
 
struct  value_holder_generator
 

Typedefs

typedef type_info class_id
 
typedef std::pair< void
*, class_id
dynamic_id_t
 
typedef dynamic_id_t(* dynamic_id_function )(void *)
 
typedef return_value_policy
< return_by_value
default_iterator_call_policies
 

Functions

BOOST_PYTHON_DECL void add_to_namespace (object const &name_space, char const *name, object const &attribute)
 
BOOST_PYTHON_DECL void add_to_namespace (object const &name_space, char const *name, object const &attribute, char const *doc)
 
BOOST_PYTHON_DECL type_handle registered_class_object (type_info id)
 
BOOST_PYTHON_DECL type_handle class_metatype ()
 
BOOST_PYTHON_DECL type_handle class_type ()
 
BOOST_PYTHON_DECL void copy_class_object (type_info const &src, type_info const &dst)
 
template<class T , class Bases >
void register_shared_ptr_from_python_and_casts (T *, Bases)
 
BOOST_PYTHON_DECL void * find_instance_impl (PyObject *, type_info, bool null_shared_ptr_only=false)
 
template<class T >
reference_to_value< T >::reference do_unforward (reference_to_value< T > const &x, int)
 
template<class T >
reference_wrapper< T >::typedo_unforward (reference_wrapper< T > const &x, int)
 
template<class T >
T const & do_unforward (T const &x,...)
 
BOOST_PYTHON_DECL handle function_handle_impl (py_function const &f)
 
template<class F , class Signature >
handle function_handle (F const &f, Signature)
 
template<class F >
handle make_function_handle (F f)
 
BOOST_PYTHON_DECL api::object function_object (py_function const &f, python::detail::keyword_range const &)
 
BOOST_PYTHON_DECL api::object function_object (py_function const &f)
 
BOOST_PYTHON_DECL void register_dynamic_id_aux (class_id static_id, dynamic_id_function get_dynamic_id)
 
BOOST_PYTHON_DECL void add_cast (class_id src_t, class_id dst_t, void *(*cast)(void *), bool is_downcast)
 
template<class T >
void register_dynamic_id (T *=0)
 
template<class Source , class Target >
void register_conversion (bool is_downcast=::boost::is_base_and_derived< Source, Target >::value, Source *=0, Target *=0)
 
BOOST_PYTHON_DECL void * find_static_type (void *p, type_info src, type_info dst)
 
BOOST_PYTHON_DECL void * find_dynamic_type (void *p, type_info src, type_info dst)
 
template<class Target , class NextPolicies , class Accessor1 , class Accessor2 >
object make_iterator_function (Accessor1 const &get_start, Accessor2 const &get_finish, NextPolicies const &next_policies, boost::type< Target > *=0)
 
BOOST_PYTHON_DECL object const & identity_function ()
 
BOOST_PYTHON_DECL void stop_iteration_error ()
 
BOOST_PYTHON_DECL PyObject * make_nurse_and_patient (PyObject *nurse, PyObject *patient)
 

Typedef Documentation

typedef dynamic_id_t(* boost::python::objects::dynamic_id_function)(void *)

Function Documentation

BOOST_PYTHON_DECL void boost::python::objects::add_cast ( class_id  src_t,
class_id  dst_t,
void *(*)(void *)  cast,
bool  is_downcast 
)

Referenced by register_conversion().

BOOST_PYTHON_DECL void boost::python::objects::add_to_namespace ( object const &  name_space,
char const *  name,
object const &  attribute 
)
BOOST_PYTHON_DECL void boost::python::objects::add_to_namespace ( object const &  name_space,
char const *  name,
object const &  attribute,
char const *  doc 
)
BOOST_PYTHON_DECL type_handle boost::python::objects::class_metatype ( )
BOOST_PYTHON_DECL type_handle boost::python::objects::class_type ( )
BOOST_PYTHON_DECL void boost::python::objects::copy_class_object ( type_info const &  src,
type_info const &  dst 
)
template<class T >
reference_to_value<T>::reference boost::python::objects::do_unforward ( reference_to_value< T > const &  x,
int   
)
template<class T >
reference_wrapper<T>::type& boost::python::objects::do_unforward ( reference_wrapper< T > const &  x,
int   
)
template<class T >
T const& boost::python::objects::do_unforward ( T const &  x,
  ... 
)
BOOST_PYTHON_DECL void* boost::python::objects::find_dynamic_type ( void *  p,
type_info  src,
type_info  dst 
)
BOOST_PYTHON_DECL void* boost::python::objects::find_instance_impl ( PyObject *  ,
type_info  ,
bool  null_shared_ptr_only = false 
)
BOOST_PYTHON_DECL void* boost::python::objects::find_static_type ( void *  p,
type_info  src,
type_info  dst 
)
template<class F , class Signature >
handle boost::python::objects::function_handle ( F const &  f,
Signature   
)
inline

References function_handle_impl().

Referenced by make_function_handle().

BOOST_PYTHON_DECL handle boost::python::objects::function_handle_impl ( py_function const &  f)

Referenced by function_handle().

BOOST_PYTHON_DECL api::object boost::python::objects::function_object ( py_function const &  f,
python::detail::keyword_range const &   
)
BOOST_PYTHON_DECL api::object boost::python::objects::function_object ( py_function const &  f)
BOOST_PYTHON_DECL object const& boost::python::objects::identity_function ( )
template<class F >
handle boost::python::objects::make_function_handle ( f)

References function_handle().

template<class Target , class NextPolicies , class Accessor1 , class Accessor2 >
object boost::python::objects::make_iterator_function ( Accessor1 const &  get_start,
Accessor2 const &  get_finish,
NextPolicies const &  next_policies,
boost::type< Target > *  = 0 
)
inline
BOOST_PYTHON_DECL PyObject* boost::python::objects::make_nurse_and_patient ( PyObject *  nurse,
PyObject *  patient 
)
template<class Source , class Target >
void boost::python::objects::register_conversion ( bool  is_downcast = ::boost::is_base_and_derived<Source,Target>::value,
Source *  = 0,
Target *  = 0 
)
inline

References add_cast().

template<class T >
void boost::python::objects::register_dynamic_id ( T = 0)
BOOST_PYTHON_DECL void boost::python::objects::register_dynamic_id_aux ( class_id  static_id,
dynamic_id_function  get_dynamic_id 
)

Referenced by register_dynamic_id().

template<class T , class Bases >
void boost::python::objects::register_shared_ptr_from_python_and_casts ( T ,
Bases   
)
inline
BOOST_PYTHON_DECL type_handle boost::python::objects::registered_class_object ( type_info  id)
BOOST_PYTHON_DECL void boost::python::objects::stop_iteration_error ( )