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

Namespaces

 detail
 
 registry
 

Classes

struct  arg_lvalue_from_python_base
 
struct  arg_rvalue_from_python
 
struct  arg_to_python
 
struct  arg_to_python< bool >
 
struct  arg_to_python< char >
 
struct  arg_to_python< char const * >
 
struct  arg_to_python< double >
 
struct  arg_to_python< float >
 
struct  arg_to_python< long double >
 
struct  arg_to_python< signedchar >
 
struct  arg_to_python< signedint >
 
struct  arg_to_python< signedlong >
 
struct  arg_to_python< signedshort >
 
struct  arg_to_python< std::complex< double > >
 
struct  arg_to_python< std::complex< float > >
 
struct  arg_to_python< std::complex< long double > >
 
struct  arg_to_python< std::string >
 
struct  arg_to_python< unsignedchar >
 
struct  arg_to_python< unsignedint >
 
struct  arg_to_python< unsignedlong >
 
struct  arg_to_python< unsignedshort >
 
struct  as_to_python_function
 
struct  back_reference_arg_from_python
 
struct  context_result_converter
 
struct  default_object_manager_traits
 
struct  expected_from_python_type
 
struct  expected_from_python_type_direct
 
struct  expected_pytype_for_arg
 
struct  extract_object_manager
 
struct  extract_pointer
 
struct  extract_reference
 
struct  extract_rvalue
 
struct  handle_object_manager_traits
 
struct  if_2
 
struct  implicit
 
struct  is_object_manager
 
struct  is_reference_to_object_manager
 
struct  is_reference_to_object_manager< T & >
 
struct  is_reference_to_object_manager< T const & >
 
struct  is_reference_to_object_manager< T const volatile & >
 
struct  is_reference_to_object_manager< T volatile & >
 
struct  lvalue_from_python_chain
 
struct  object_manager_ref_arg_from_python
 
struct  object_manager_traits
 
struct  object_manager_traits< dict >
 
struct  object_manager_traits< list >
 
struct  object_manager_traits< long_ >
 
struct  object_manager_traits< numeric::array >
 
struct  object_manager_traits< object >
 
struct  object_manager_traits< scope >
 
struct  object_manager_traits< slice >
 
struct  object_manager_traits< str >
 
struct  object_manager_traits< tuple >
 
struct  object_manager_value_arg_from_python
 
struct  pointer_arg_from_python
 
struct  pointer_cref_arg_from_python
 
struct  pyobject_traits
 
struct  pyobject_traits< PyDictObject >
 
struct  pyobject_traits< PyIntObject >
 
struct  pyobject_traits< PyListObject >
 
struct  pyobject_traits< PyLongObject >
 
struct  pyobject_traits< PyObject >
 
struct  pyobject_traits< PyTupleObject >
 
struct  pyobject_traits< PyTypeObject >
 
struct  pyobject_type
 
struct  pytype_object_manager_traits
 
struct  reference_arg_from_python
 
struct  registered
 
struct  registered< T & >
 
struct  registered_pointee
 
struct  registered_pytype
 
struct  registered_pytype_direct
 
struct  registration
 
struct  return_from_python
 
struct  return_from_python< void >
 
struct  rvalue_from_python_chain
 
struct  rvalue_from_python_data
 
struct  rvalue_from_python_stage1_data
 
struct  rvalue_from_python_storage
 
struct  select_arg_from_python
 
struct  select_extract
 
struct  shared_ptr_deleter
 
struct  shared_ptr_from_python
 
struct  to_python_target_type
 
struct  to_python_target_type_direct
 
struct  wrap_pytype
 

Typedefs

typedef void(* constructor_function )(PyObject *source, rvalue_from_python_stage1_data *)
 
typedef void *(* convertible_function )(PyObject *)
 
typedef PyTypeObject const *(* pytype_function )()
 
typedef PyObject *(* to_python_function_t )(void const *)
 

Functions

BOOST_PYTHON_DECL PyObject * do_return_to_python (char)
 
BOOST_PYTHON_DECL PyObject * do_return_to_python (char const *)
 
BOOST_PYTHON_DECL PyObject * do_return_to_python (PyObject *)
 
BOOST_PYTHON_DECL PyObject * do_arg_to_python (PyObject *)
 
void initialize_builtin_converters ()
 
BOOST_PYTHON_DECL void * get_lvalue_from_python (PyObject *source, registration const &)
 
BOOST_PYTHON_DECL bool implicit_rvalue_convertible_from_python (PyObject *source, registration const &)
 
BOOST_PYTHON_DECL
rvalue_from_python_stage1_data 
rvalue_from_python_stage1 (PyObject *source, registration const &)
 
BOOST_PYTHON_DECL void * rvalue_from_python_stage2 (PyObject *source, rvalue_from_python_stage1_data &, registration const &)
 
BOOST_PYTHON_DECL void * rvalue_result_from_python (PyObject *, rvalue_from_python_stage1_data &)
 
BOOST_PYTHON_DECL void * reference_result_from_python (PyObject *, registration const &)
 
BOOST_PYTHON_DECL void * pointer_result_from_python (PyObject *, registration const &)
 
BOOST_PYTHON_DECL void void_result_from_python (PyObject *)
 
BOOST_PYTHON_DECL void throw_no_pointer_from_python (PyObject *, registration const &)
 
BOOST_PYTHON_DECL void throw_no_reference_from_python (PyObject *, registration const &)
 
template<class T >
type_info pointer_type_id (T(*)()=0)
 
BOOST_PYTHON_DECL PyObject * checked_downcast_impl (PyObject *, PyTypeObject *)
 
bool operator< (registration const &lhs, registration const &rhs)
 
template<class T >
PyObject * shared_ptr_to_python (shared_ptr< T > const &x)
 

Typedef Documentation

typedef void(* boost::python::converter::constructor_function)(PyObject *source, rvalue_from_python_stage1_data *)
typedef void*(* boost::python::converter::convertible_function)(PyObject *)
typedef PyTypeObject const*(* boost::python::converter::pytype_function)()
typedef PyObject*(* boost::python::converter::to_python_function_t)(void const *)

Function Documentation

BOOST_PYTHON_DECL PyObject* boost::python::converter::checked_downcast_impl ( PyObject *  ,
PyTypeObject *   
)
BOOST_PYTHON_DECL PyObject* boost::python::converter::do_arg_to_python ( PyObject *  )
BOOST_PYTHON_DECL PyObject* boost::python::converter::do_return_to_python ( char  )
BOOST_PYTHON_DECL PyObject* boost::python::converter::do_return_to_python ( char const *  )
BOOST_PYTHON_DECL PyObject* boost::python::converter::do_return_to_python ( PyObject *  )
BOOST_PYTHON_DECL void* boost::python::converter::get_lvalue_from_python ( PyObject *  source,
registration const &   
)
BOOST_PYTHON_DECL bool boost::python::converter::implicit_rvalue_convertible_from_python ( PyObject *  source,
registration const &   
)
void boost::python::converter::initialize_builtin_converters ( )
bool boost::python::converter::operator< ( registration const &  lhs,
registration const &  rhs 
)
inline
BOOST_PYTHON_DECL void* boost::python::converter::pointer_result_from_python ( PyObject *  ,
registration const &   
)
template<class T >
type_info boost::python::converter::pointer_type_id ( T(*)()  = 0)
BOOST_PYTHON_DECL void* boost::python::converter::reference_result_from_python ( PyObject *  ,
registration const &   
)
BOOST_PYTHON_DECL rvalue_from_python_stage1_data boost::python::converter::rvalue_from_python_stage1 ( PyObject *  source,
registration const &   
)
BOOST_PYTHON_DECL void* boost::python::converter::rvalue_from_python_stage2 ( PyObject *  source,
rvalue_from_python_stage1_data &  ,
registration const &   
)
BOOST_PYTHON_DECL void* boost::python::converter::rvalue_result_from_python ( PyObject *  ,
rvalue_from_python_stage1_data &   
)
template<class T >
PyObject* boost::python::converter::shared_ptr_to_python ( shared_ptr< T > const &  x)
BOOST_PYTHON_DECL void boost::python::converter::throw_no_pointer_from_python ( PyObject *  ,
registration const &   
)
BOOST_PYTHON_DECL void boost::python::converter::throw_no_reference_from_python ( PyObject *  ,
registration const &   
)
BOOST_PYTHON_DECL void boost::python::converter::void_result_from_python ( PyObject *  )