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

Namespaces

 api
 
 container_utils
 
 converter
 
 detail
 
 error_messages
 
 numeric
 
 objects
 
 self_ns
 

Classes

struct  arg_from_python
 
struct  arg_from_python< parameter::aux::maybe< T > >
 
struct  arg_from_python< PyObject * >
 
struct  arg_from_python< PyObject *const & >
 
struct  back_reference
 
struct  base_type_traits
 
struct  base_type_traits< PyMethodObject >
 
struct  base_type_traits< PyObject >
 
struct  base_type_traits< PyTypeObject >
 
struct  bases
 
singleton  class_
 
struct  copy_const_reference
 
struct  copy_non_const_reference
 
class  def_visitor
 
class  def_visitor_access
 
struct  default_call_policies
 
struct  default_result_converter
 
class  dict
 
class  docstring_options
 
struct  enum_
 
struct  error_already_set
 
struct  extract
 
struct  extract_identity
 
struct  extract_member
 
singleton  handle
 
struct  has_back_reference
 
struct  has_direct_serialization
 Whether the input/output archiver pair has "direct" serialization for C++ objects exposed in Python. More...
 
struct  has_direct_serialization< ::boost::mpi::packed_iarchive,::boost::mpi::packed_oarchive >
 
class  indexing_suite
 
class  init
 
struct  init_base
 
class  init_with_call_policies
 
struct  input_archiver
 A metafunction that determines the input archiver for the given output archiver. More...
 
struct  input_archiver< ::boost::mpi::packed_oarchive >
 
struct  instance_holder
 
class  is_back_reference
 
class  is_back_reference< back_reference< T > >
 
class  is_handle
 
class  is_handle< handle< T > >
 
class  is_pointer_wrapper
 
class  is_pointer_wrapper< pointer_wrapper< T > >
 
struct  iterator
 
struct  iterators
 
class  list
 
class  long_
 
struct  lvalue_from_pytype
 
struct  manage_new_object
 
class  map_indexing_suite
 
struct  null_ok
 
struct  opaque
 
struct  optional
 
struct  other
 
struct  output_archiver
 A metafunction that determines the output archiver for the given input archiver. More...
 
struct  output_archiver< ::boost::mpi::packed_iarchive >
 
class  override
 
class  pickle
 INTERNAL ONLY. More...
 
struct  pickle_suite
 
struct  pointee
 
class  pointer_wrapper
 
struct  reference_existing_object
 
struct  return_arg
 
struct  return_by_value
 
struct  return_internal_reference
 
struct  return_opaque_pointer
 
struct  return_self
 
struct  return_value_policy
 
class  scope
 
class  slice
 
struct  stl_input_iterator
 
class  str
 
struct  to_python_converter
 
struct  to_python_indirect
 
struct  to_python_value
 
struct  to_python_value< bool & >
 
struct  to_python_value< boolconst & >
 
struct  to_python_value< char & >
 
struct  to_python_value< char const *& >
 
struct  to_python_value< char const *const & >
 
struct  to_python_value< charconst & >
 
struct  to_python_value< double & >
 
struct  to_python_value< doubleconst & >
 
struct  to_python_value< float & >
 
struct  to_python_value< floatconst & >
 
struct  to_python_value< long double & >
 
struct  to_python_value< long doubleconst & >
 
struct  to_python_value< PyObject *& >
 
struct  to_python_value< PyObject *const & >
 
struct  to_python_value< signedchar & >
 
struct  to_python_value< signedcharconst & >
 
struct  to_python_value< signedint & >
 
struct  to_python_value< signedintconst & >
 
struct  to_python_value< signedlong & >
 
struct  to_python_value< signedlongconst & >
 
struct  to_python_value< signedshort & >
 
struct  to_python_value< signedshortconst & >
 
struct  to_python_value< std::complex< double > & >
 
struct  to_python_value< std::complex< double >const & >
 
struct  to_python_value< std::complex< float > & >
 
struct  to_python_value< std::complex< float >const & >
 
struct  to_python_value< std::complex< long double > & >
 
struct  to_python_value< std::complex< long double >const & >
 
struct  to_python_value< std::string & >
 
struct  to_python_value< std::stringconst & >
 
struct  to_python_value< unsignedchar & >
 
struct  to_python_value< unsignedcharconst & >
 
struct  to_python_value< unsignedint & >
 
struct  to_python_value< unsignedintconst & >
 
struct  to_python_value< unsignedlong & >
 
struct  to_python_value< unsignedlongconst & >
 
struct  to_python_value< unsignedshort & >
 
struct  to_python_value< unsignedshortconst & >
 
class  tuple
 
struct  type_info
 
class  unwrap_pointer
 
class  unwrap_pointer< pointer_wrapper< T > >
 
class  vector_indexing_suite
 
struct  with_custodian_and_ward
 
struct  with_custodian_and_ward_postcall
 
class  wrapper
 

Typedefs

typedef detail::keywords< 1 > arg
 
typedef arg arg_
 
typedef handle< PyTypeObject > type_handle
 
typedef int ssize_t
 

Enumerations

enum  no_init_t { no_init }
 
enum  tag_t { tag }
 

Functions

template<typename IArchiver , typename OArchiver , typename T >
void register_serialized (const T &value=T(), PyTypeObject *type=0)
 Register the type T for direct serialization. More...
 
template<typename Archiver >
void save (Archiver &ar, const boost::python::object &obj, const unsigned int version)
 
template<typename Archiver >
void load (Archiver &ar, boost::python::object &obj, const unsigned int version)
 
template<typename Archive >
void serialize (Archive &ar, boost::python::object &obj, const unsigned int version)
 
detail::keywords< 1 > args (char const *name)
 
template<class T >
python::detail::borrowed< T > * borrowed (T *p)
 
template<class Target , class Source >
Target * upcast (Source *x, Target *=0)
 
template<class Target , class Source >
Target * downcast (Source *x, Target *=0)
 
template<class D , class Policies >
object make_getter (D &d, Policies const &policies)
 
template<class D , class Policies >
object make_getter (D const &d, Policies const &policies)
 
template<class D >
object make_getter (D &x)
 
template<class D >
object make_getter (D const &d)
 
template<class D , class Policies >
object make_setter (D &x, Policies const &policies)
 
template<class D , class Policies >
object make_setter (D const &x, Policies const &policies)
 
template<class D >
object make_setter (D &x)
 
template<class D >
object make_setter (D const &x)
 
template<class Fn >
void def (char const *name, Fn fn)
 
template<class Arg1T , class Arg2T >
void def (char const *name, Arg1T arg1, Arg2T const &arg2)
 
template<class F , class A1 , class A2 >
void def (char const *name, F f, A1 const &a1, A2 const &a2)
 
template<class F , class A1 , class A2 , class A3 >
void def (char const *name, F f, A1 const &a1, A2 const &a2, A3 const &a3)
 
BOOST_PYTHON_DECL bool handle_exception_impl (function0< void >)
 
template<class T >
bool handle_exception (T f)
 
void handle_exception ()
 
BOOST_PYTHON_DECL void throw_error_already_set ()
 
template<class T >
Texpect_non_null (T *x)
 
BOOST_PYTHON_DECL PyObject * pytype_check (PyTypeObject *pytype, PyObject *source)
 
template<class ExceptionType , class Translate >
void register_exception_translator (Translate translate, boost::type< ExceptionType > *=0)
 
object BOOST_PYTHON_DECL eval (str string, object global=object(), object local=object())
 
object BOOST_PYTHON_DECL exec_statement (str string, object global=object(), object local=object())
 
object BOOST_PYTHON_DECL exec (str string, object global=object(), object local=object())
 
object BOOST_PYTHON_DECL exec_file (str filename, object global=object(), object local=object())
 
template<class T >
null_ok< T > * allow_null (T *p)
 
template<class T >
Tget_pointer (python::handle< T > const &p)
 
template<class T >
PyObject * get_managed_object (handle< T > const &h, tag_t)
 
template<class Source , class Target >
void implicitly_convertible (boost::type< Source > *=0, boost::type< Target > *=0)
 
object BOOST_PYTHON_DECL import (str name)
 
template<class Accessor1 , class Accessor2 >
object range (Accessor1 start, Accessor2 finish)
 
template<class NextPolicies , class Accessor1 , class Accessor2 >
object range (Accessor1 start, Accessor2 finish, NextPolicies *=0)
 
template<class NextPolicies , class Target , class Accessor1 , class Accessor2 >
object range (Accessor1 start, Accessor2 finish, NextPolicies *=0, boost::type< Target > *=0)
 
template<class F >
object make_constructor (F f)
 
template<class F , class CallPolicies >
object make_constructor (F f, CallPolicies const &policies)
 
template<class F , class CallPolicies , class KeywordsOrSignature >
object make_constructor (F f, CallPolicies const &policies, KeywordsOrSignature const &keywords_or_signature)
 
template<class F , class CallPolicies , class Keywords , class Signature >
object make_constructor (F f, CallPolicies const &policies, Keywords const &kw, Signature const &sig)
 
template<class F >
object make_function (F f)
 
template<class F , class CallPolicies >
object make_function (F f, CallPolicies const &policies)
 
template<class F , class CallPolicies , class KeywordsOrSignature >
object make_function (F f, CallPolicies const &policies, KeywordsOrSignature const &keywords_or_signature)
 
template<class F , class CallPolicies , class Keywords , class Signature >
object make_function (F f, CallPolicies const &policies, Keywords const &kw, Signature const &sig)
 
BOOST_PYTHON_DECL object const & make_instance_reduce_function ()
 
ssize_t len (object const &obj)
 
PyObject * get_managed_object (object const &x, tag_t)
 
template<class T >
pointer_wrapper< Tptr (T t)
 
template<class PointerToMemberFunction >
detail::pure_virtual_visitor
< PointerToMemberFunction > 
pure_virtual (PointerToMemberFunction pmf)
 
template<class F >
object raw_function (F f, std::size_t min_args=0)
 
template<class T >
Tincref (T *p)
 
template<class T >
Txincref (T *p)
 
template<class T >
void decref (T *p)
 
template<class T >
void xdecref (T *p)
 
template<class P >
void register_ptr_to_python (BOOST_EXPLICIT_TEMPLATE_TYPE(P))
 
tuple make_tuple ()
 
BOOST_PYTHON_DECL std::ostream & operator<< (std::ostream &, type_info const &)
 
template<>
type_info type_id< void > ()
 
template<>
type_info type_id< const volatile void > ()
 

Variables

struct BOOST_PYTHON_DECL_FORWARD instance_holder
 
ssize_t const ssize_t_max = INT_MAX
 
ssize_t const ssize_t_min = INT_MIN
 
template<class T >
type_info type_id (BOOST_EXPLICIT_TEMPLATE_TYPE(T))
 

Typedef Documentation

typedef handle<PyTypeObject> boost::python::type_handle

Enumeration Type Documentation

Enumerator
no_init 
Enumerator
tag 

Function Documentation

detail::keywords<1> boost::python::args ( char const *  name)
inline

References boost::iostreams::gzip::flags::name.

Referenced by boost::aux::add_file_log(), boost::allocate_shared(), boost::xpressive::detail::bind_args(), boost::BOOST_SIGNALS_NAMESPACE::detail::BOOST_JOIN(), boost::alignment::aligned_allocator< T, Alignment >::construct(), boost::signals2::deconstruct_access::deconstruct(), boost::signals2::deconstruct(), boost::heap::detail::d_ary_heap< T, BoundArgs, IndexUpdater >::emplace(), boost::heap::priority_queue< T, A0, A1, A2, A3 >::emplace(), boost::heap::binomial_heap< T, A0, A1, A2, A3 >::emplace(), boost::heap::fibonacci_heap< T, A0, A1, A2, A3, A4 >::emplace(), boost::heap::pairing_heap< T, A0, A1, A2, A3, A4 >::emplace(), boost::heap::skew_heap< T, A0, A1, A2, A3, A4, A5, A6 >::emplace(), boost::heap::d_ary_heap< T, A0, A1, A2, A3, A4, A5 >::emplace(), boost::optional< status >::emplace(), boost::optional_detail::optional_base< T >::emplace_assign(), boost::accumulators::detail::make_accumulator_visitor(), boost::accumulators::detail::make_add_ref_visitor(), boost::accumulators::detail::make_drop_visitor(), boost::make_shared(), boost::make_unique(), boost::spirit::qi::success_handler< Iterator, Context, Skipper, F >::operator()(), boost::expressions::format_terminal< CharT >::operator()(), boost::accumulators::detail::stat_assign_visitor< Args >::operator()(), boost::spirit::qi::error_handler< Iterator, Context, Skipper, F, action >::operator()(), boost::expressions::aux::wrapped_formatter_output_terminal< LeftT, FunT >::operator()(), boost::expressions::format_date_time_terminal< T, FallbackPolicyT, CharT >::operator()(), boost::expressions::attribute_terminal< T, FallbackPolicyT, TagT >::operator()(), boost::python::objects::py_function::operator()(), boost::expressions::wrapped_formatter_terminal< FunT, CharT >::operator()(), boost::expressions::format_named_scope_terminal< FallbackPolicyT, CharT >::operator()(), boost::signals2::postconstructor_invoker< T >::postconstruct(), boost::accumulators::impl::lazy_weighted_variance_impl< Sample, Weight, MeanFeature >::result(), boost::accumulators::impl::lazy_variance_impl< Sample, MeanFeature >::result(), boost::accumulators::impl::lazy_rolling_variance_impl< Sample >::result(), boost::accumulators::detail::stat_assign(), and v2_eval().

template<class T >
python::detail::borrowed<T>* boost::python::borrowed ( T p)
inline
template<class T >
void boost::python::decref ( T p)
inline
template<class Arg1T , class Arg2T >
void boost::python::def ( char const *  name,
Arg1T  arg1,
Arg2T const &  arg2 
)
template<class F , class A1 , class A2 >
void boost::python::def ( char const *  name,
f,
A1 const &  a1,
A2 const &  a2 
)
template<class F , class A1 , class A2 , class A3 >
void boost::python::def ( char const *  name,
f,
A1 const &  a1,
A2 const &  a2,
A3 const &  a3 
)
template<class Target , class Source >
Target* boost::python::downcast ( Source *  x,
Target *  = 0 
)
inline
object BOOST_PYTHON_DECL boost::python::eval ( str  string,
object  global = object(),
object  local = object() 
)
object BOOST_PYTHON_DECL boost::python::exec ( str  string,
object  global = object(),
object  local = object() 
)
object BOOST_PYTHON_DECL boost::python::exec_file ( str  filename,
object  global = object(),
object  local = object() 
)
object BOOST_PYTHON_DECL boost::python::exec_statement ( str  string,
object  global = object(),
object  local = object() 
)
PyObject* boost::python::get_managed_object ( object const &  x,
tag_t   
)
inline
template<class T >
T* boost::python::get_pointer ( python::handle< T > const &  p)
inline
template<class T >
bool boost::python::handle_exception ( T  f)

References handle_exception_impl(), and boost::ref().

Referenced by handle_exception().

void boost::python::handle_exception ( )
inline
BOOST_PYTHON_DECL bool boost::python::handle_exception_impl ( function0< void >  )

Referenced by handle_exception().

template<class Source , class Target >
void boost::python::implicitly_convertible ( boost::type< Source > *  = 0,
boost::type< Target > *  = 0 
)
object BOOST_PYTHON_DECL boost::python::import ( str  name)
ssize_t boost::python::len ( object const &  obj)
inline

References throw_error_already_set().

Referenced by boost::iostreams::detail::bzip2_allocator< Alloc, Base >::allocate(), boost::iostreams::detail::zlib_allocator< Alloc, Base >::allocate(), boost::geometry::detail::coordinate_cast< rational< T > >::apply(), boost::unit_test::basic_cstring< CharT >::assign(), boost::container::deque< T, Allocator >::assign(), boost::basic_string_literal< CharT, TraitsT >::compare(), boost::basic_string_literal< CharT, TraitsT >::copy(), boost::container::basic_string< CharT, Traits, Allocator >::copy(), boost::min_max_cycle_visitor::cycle(), boost::iostreams::detail::bzip2_allocator< Alloc, Base >::deallocate(), boost::iostreams::detail::zlib_allocator< Alloc, Base >::deallocate(), boost::re_detail::basic_regex_creator< charT, traits >::finalize(), boost::container::basic_string< CharT, Traits, Allocator >::find_last_not_of(), boost::container::basic_string< CharT, Traits, Allocator >::find_last_of(), boost::numeric::odeint::openmp_range_algebra::for_each1(), boost::numeric::odeint::openmp_nested_algebra< InnerAlgebra >::for_each1(), boost::numeric::odeint::openmp_range_algebra::for_each10(), boost::numeric::odeint::openmp_nested_algebra< InnerAlgebra >::for_each10(), boost::numeric::odeint::openmp_range_algebra::for_each11(), boost::numeric::odeint::openmp_nested_algebra< InnerAlgebra >::for_each11(), boost::numeric::odeint::openmp_range_algebra::for_each12(), boost::numeric::odeint::openmp_nested_algebra< InnerAlgebra >::for_each12(), boost::numeric::odeint::openmp_range_algebra::for_each13(), boost::numeric::odeint::openmp_nested_algebra< InnerAlgebra >::for_each13(), boost::numeric::odeint::openmp_range_algebra::for_each14(), boost::numeric::odeint::openmp_nested_algebra< InnerAlgebra >::for_each14(), boost::numeric::odeint::openmp_range_algebra::for_each15(), boost::numeric::odeint::openmp_nested_algebra< InnerAlgebra >::for_each15(), boost::numeric::odeint::openmp_range_algebra::for_each2(), boost::numeric::odeint::openmp_nested_algebra< InnerAlgebra >::for_each2(), boost::numeric::odeint::openmp_range_algebra::for_each3(), boost::numeric::odeint::openmp_nested_algebra< InnerAlgebra >::for_each3(), boost::numeric::odeint::openmp_range_algebra::for_each4(), boost::numeric::odeint::openmp_nested_algebra< InnerAlgebra >::for_each4(), boost::numeric::odeint::openmp_range_algebra::for_each5(), boost::numeric::odeint::openmp_nested_algebra< InnerAlgebra >::for_each5(), boost::numeric::odeint::openmp_range_algebra::for_each6(), boost::numeric::odeint::openmp_nested_algebra< InnerAlgebra >::for_each6(), boost::numeric::odeint::openmp_range_algebra::for_each7(), boost::numeric::odeint::openmp_nested_algebra< InnerAlgebra >::for_each7(), boost::numeric::odeint::openmp_range_algebra::for_each8(), boost::numeric::odeint::openmp_nested_algebra< InnerAlgebra >::for_each8(), boost::numeric::odeint::openmp_range_algebra::for_each9(), boost::numeric::odeint::openmp_nested_algebra< InnerAlgebra >::for_each9(), boost::detail::multi_array::multi_array_impl_base< T, NumDims >::generate_array_view(), boost::spirit::lex::lexertl::detail::string_lit< wchar_t >::get(), boost::container::basic_string< CharT, Traits, Allocator >::insert(), boost::python::detail::load_impl(), boost::xpressive::cpp_regex_traits< Char >::lookup_classname(), boost::re_detail::make_utf32_seq(), boost::numeric::odeint::openmp_range_algebra::norm_inf(), boost::numeric::odeint::openmp_nested_algebra< InnerAlgebra >::norm_inf(), boost::wave::util::operator+(), boost::spirit::functor_parser< FunctorT >::parse(), boost::spirit::eol_parser::parse(), boost::typeindex::stl_type_index::pretty_name(), boost::typeindex::ctti_type_index::pretty_name(), boost::container::basic_string< CharT, Traits, Allocator >::replace(), boost::container::deque< T, Allocator >::resize(), boost::container::basic_string< CharT, Traits, Allocator >::rfind(), boost::python::detail::save_impl(), boost::match_results< BidirectionalIterator >::set_size(), boost::intrusive::hashtable_impl< ValueTraits, Hash, Equal, SizeType, BucketTraits, BoolFlags >::size(), boost::sub_match< BidirectionalIterator >::str(), boost::to_string_helper(), boost::re_detail::basic_regex_parser< charT, traits >::unescape_character(), and boost::write_graphviz().

template<typename Archiver >
void boost::python::load ( Archiver &  ar,
boost::python::object &  obj,
const unsigned int  version 
)
template<class F >
object boost::python::make_constructor ( f)
template<class F , class CallPolicies >
object boost::python::make_constructor ( f,
CallPolicies const &  policies 
)
template<class F , class CallPolicies , class KeywordsOrSignature >
object boost::python::make_constructor ( f,
CallPolicies const &  policies,
KeywordsOrSignature const &  keywords_or_signature 
)
template<class F , class CallPolicies , class Keywords , class Signature >
object boost::python::make_constructor ( f,
CallPolicies const &  policies,
Keywords const &  kw,
Signature const &  sig 
)
template<class F , class CallPolicies >
object boost::python::make_function ( f,
CallPolicies const &  policies 
)
template<class F , class CallPolicies , class KeywordsOrSignature >
object boost::python::make_function ( f,
CallPolicies const &  policies,
KeywordsOrSignature const &  keywords_or_signature 
)
template<class F , class CallPolicies , class Keywords , class Signature >
object boost::python::make_function ( f,
CallPolicies const &  policies,
Keywords const &  kw,
Signature const &  sig 
)
template<class D , class Policies >
object boost::python::make_getter ( D &  d,
Policies const &  policies 
)
inline
template<class D , class Policies >
object boost::python::make_getter ( D const &  d,
Policies const &  policies 
)
inline
template<class D >
object boost::python::make_getter ( D &  x)
inline
template<class D >
object boost::python::make_getter ( D const &  d)
inline
BOOST_PYTHON_DECL object const& boost::python::make_instance_reduce_function ( )
template<class D , class Policies >
object boost::python::make_setter ( D &  x,
Policies const &  policies 
)
inline
template<class D , class Policies >
object boost::python::make_setter ( D const &  x,
Policies const &  policies 
)
inline
template<class D >
object boost::python::make_setter ( D &  x)
inline
template<class D >
object boost::python::make_setter ( D const &  x)
inline
BOOST_PYTHON_DECL std::ostream& boost::python::operator<< ( std::ostream &  ,
type_info const &   
)
template<class T >
pointer_wrapper<T> boost::python::ptr ( T  t)
inline

References boost::flyweights::t.

Referenced by boost::iostreams::detail::bzip2_allocator< Alloc, Base >::allocate(), boost::iostreams::detail::zlib_allocator< Alloc, Base >::allocate(), boost::filesystem::path::assign(), boost::container::basic_string< CharT, Traits, Allocator >::assign(), boost::BOOST_concept(), boost::const_pointer_cast(), boost::alignment::aligned_allocator< T, Alignment >::construct(), boost::pool_allocator< T, UserAllocator, Mutex, NextSize, MaxSize >::construct(), boost::fast_pool_allocator< T, UserAllocator, Mutex, NextSize, MaxSize >::construct(), boost::iostreams::detail::bzip2_allocator< Alloc, Base >::deallocate(), boost::alignment::aligned_allocator_adaptor< Allocator, Alignment >::deallocate(), boost::container::node_allocator< T, NodesPerBlock, Version >::deallocate(), boost::iostreams::detail::zlib_allocator< Alloc, Base >::deallocate(), boost::container::adaptive_pool< T, BOOST_CONTAINER_DOCONLY, BOOST_CONTAINER_DOCONLY, BOOST_CONTAINER_DOCONLY >::deallocate(), boost::fast_pool_allocator< T, UserAllocator, Mutex, NextSize, MaxSize >::deallocate(), boost::signals2::deconstruct_ptr(), boost::signals2::detail::do_postconstruct(), boost::signals2::detail::do_predestruct(), boost::dynamic_pointer_cast(), boost::container::basic_string< CharT, Traits, Allocator >::erase(), boost::container::vector< Value, container_detail::static_storage_allocator< Value, Capacity > >::erase(), boost::python::detail::make_owning_holder::execute(), phoenix::impl::as_ptr< T * >::get(), boost::chrono::get_time_fmt(), boost::re_detail::raw_storage::index(), boost::re_detail::cpp_regex_traits_char_layer< charT >::init(), boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::insert(), boost::ptr_set_adapter< Key, std::set< void *, void_ptr_indirect_fun< Compare, Key >, Allocator >, CloneAllocator, true >::insert(), boost::ptr_map_adapter< T, boost::unordered_map< Key, void *, Hash, Pred, Allocator >, CloneAllocator, false >::insert(), boost::ptr_multiset_adapter< Key, boost::unordered_multiset< void *, void_ptr_indirect_fun< Hash, Key >, void_ptr_indirect_fun< Pred, Key >, Allocator >, CloneAllocator, false >::insert(), boost::unit_test::ut_detail::bcs_char_traits_impl< CharT >::length(), boost::lookup_one_property_internal< T, R TMaybeBase::*, typename enable_if< is_base_of< TMaybeBase, T > >::type >::lookup(), boost::gil::memunit_advanced_ref(), boost::date_time::month_str_to_ushort(), boost::re_detail::file_iterator::name(), boost::re_detail::directory_iterator::name(), boost::simple_segregated_storage< SizeType >::nextof(), boost::object_pool< T >::nextof(), boost::gil::planar_pixel_iterator< ChannelPtr, ColorSpace >::operator!=(), boost::alignment::aligned_delete::operator()(), boost::python::detail::raw_dispatcher< F >::operator()(), boost::python::override::operator()(), boost::filesystem::path::operator+=(), boost::gil::planar_pixel_iterator< ChannelPtr, ColorSpace >::operator<(), boost::python::detail::keywords< 1 >::operator=(), boost::filesystem::path::operator=(), boost::interprocess::offset_ptr< PointedType, DifferenceType, OffsetType, OffsetAlignment >::operator=(), boost::ptr_sequence_adapter< T, boost::circular_buffer< void *, Allocator >, CloneAllocator >::pop_back(), boost::ptr_sequence_adapter< T, boost::circular_buffer< void *, Allocator >, CloneAllocator >::pop_front(), boost::interprocess::segment_manager_base< MemoryAlgorithm >::prot_anonymous_construct(), boost::ptr_sequence_adapter< T, boost::circular_buffer< void *, Allocator >, CloneAllocator >::push_back(), boost::ptr_sequence_adapter< T, boost::circular_buffer< void *, Allocator >, CloneAllocator >::push_front(), boost::re_detail::re_is_set_member(), boost::reinterpret_pointer_cast(), boost::ptr_array< T, N, CloneAllocator >::release(), boost::ptr_array< T, N, CloneAllocator >::replace(), boost::ptr_container_detail::ptr_map_adapter_base< T, VoidPtrMultiMap, CloneAllocator, Ordered >::replace(), boost::ptr_circular_buffer< T, CloneAllocator, Allocator >::rinsert(), boost::heap::pairing_heap< T, A0, A1, A2, A3, A4 >::s_handle_from_iterator(), boost::heap::binomial_heap< T, A0, A1, A2, A3 >::s_handle_from_iterator(), boost::heap::fibonacci_heap< T, A0, A1, A2, A3, A4 >::s_handle_from_iterator(), boost::heap::skew_heap< T, A0, A1, A2, A3, A4, A5, A6 >::s_handle_from_iterator(), boost::chrono::set_time_fmt(), boost::static_pointer_cast(), boost::locale::basic_message< char_type >::str(), boost::iostreams::symmetric_filter< SymmetricFilter, Alloc >::unconsumed_input(), boost::re_detail::w32_regex_traits_char_layer< charT >::w32_regex_traits_char_layer(), and boost::interprocess::rbtree_best_fit< MutexFamily, VoidPointer, MemAlignment >::zero_free_memory().

template<class PointerToMemberFunction >
detail::pure_virtual_visitor<PointerToMemberFunction> boost::python::pure_virtual ( PointerToMemberFunction  pmf)
BOOST_PYTHON_DECL PyObject* boost::python::pytype_check ( PyTypeObject *  pytype,
PyObject *  source 
)
template<class Accessor1 , class Accessor2 >
object boost::python::range ( Accessor1  start,
Accessor2  finish 
)
template<class NextPolicies , class Accessor1 , class Accessor2 >
object boost::python::range ( Accessor1  start,
Accessor2  finish,
NextPolicies *  = 0 
)
template<class NextPolicies , class Target , class Accessor1 , class Accessor2 >
object boost::python::range ( Accessor1  start,
Accessor2  finish,
NextPolicies *  = 0,
boost::type< Target > *  = 0 
)
template<class F >
object boost::python::raw_function ( f,
std::size_t  min_args = 0 
)
template<class ExceptionType , class Translate >
void boost::python::register_exception_translator ( Translate  translate,
boost::type< ExceptionType > *  = 0 
)
template<class P >
void boost::python::register_ptr_to_python ( BOOST_EXPLICIT_TEMPLATE_TYPE(P)  )
template<typename IArchiver , typename OArchiver , typename T >
void boost::python::register_serialized ( const T value = T(),
PyTypeObject *  type = 0 
)

Register the type T for direct serialization.

The register_serialized function registers a C++ type for direct serialization with the given IArchiver/OArchiver pair. Direct serialization elides the use of the Python pickle package when serializing Python objects that represent C++ values. Direct serialization can be beneficial both to improve serialization performance (Python pickling can be very inefficient) and to permit serialization for Python-wrapped C++ objects that do not support pickling.

Parameters
valueA sample value of the type T. This may be used to compute the Python type associated with the C++ type T.
typeThe Python type associated with the C++ type T. If not provided, it will be computed from the same value value.

References boost::python::detail::direct_serialization_table< IArchiver, OArchiver >::register_type(), and boost::program_options::value().

Referenced by boost::mpi::python::register_serialized().

template<typename Archiver >
void boost::python::save ( Archiver &  ar,
const boost::python::object &  obj,
const unsigned int  version 
)
template<typename Archive >
void boost::python::serialize ( Archive &  ar,
boost::python::object &  obj,
const unsigned int  version 
)
inline
template<>
type_info boost::python::type_id< const volatile void > ( )
inline
template<class Target , class Source >
Target* boost::python::upcast ( Source *  x,
Target *  = 0 
)
inline

Variable Documentation

struct BOOST_PYTHON_DECL_FORWARD boost::python::instance_holder
ssize_t const boost::python::ssize_t_max = INT_MAX
ssize_t const boost::python::ssize_t_min = INT_MIN