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

Classes

struct  attribute_policies
 
struct  const_attribute_policies
 
struct  const_item_policies
 
struct  const_objattribute_policies
 
struct  const_slice_policies
 
struct  enable_binary
 
struct  enable_binary< ::boost::mpi::packed_iarchive, R, T >
 
struct  enable_binary< ::boost::mpi::packed_oarchive, R, T >
 
struct  is_derived
 
struct  is_object_operators
 
struct  item_policies
 
struct  objattribute_policies
 
class  object
 
struct  object_base
 
struct  object_initializer
 
struct  object_initializer_impl
 
struct  object_initializer_impl< false, true >
 
struct  object_initializer_impl< true, false >
 
struct  object_initializer_impl< true, true >
 
class  object_operators
 
class  proxy
 
struct  slice_bound
 
struct  slice_bound< slice_nil >
 
class  slice_nil
 
struct  slice_policies
 

Typedefs

typedef proxy
< const_attribute_policies
const_object_attribute
 
typedef proxy< attribute_policiesobject_attribute
 
typedef proxy
< const_objattribute_policies
const_object_objattribute
 
typedef proxy
< objattribute_policies
object_objattribute
 
typedef proxy
< const_item_policies
const_object_item
 
typedef proxy< item_policiesobject_item
 
typedef proxy
< const_slice_policies
const_object_slice
 
typedef proxy< slice_policiesobject_slice
 
typedef PyObject *(object::* bool_type )() const
 
typedef char(& no_type )[2]
 

Functions

template<class T >
objects::unforward_cref< T >::type do_unforward_cref (T const &x)
 
template<class T >
PyObject * object_base_initializer (T const &x)
 
template<class X >
char is_object_operators_helper (object_operators< X > const *)
 
no_type is_object_operators_helper (...)
 
template<class X >
X * make_ptr ()
 
BOOST_PYTHON_DECL object operator> (object const &l, object const &r)
 
template<class L , class R >
enable_binary< L, R, object >::type operator> (L const &l, R const &r)
 
BOOST_PYTHON_DECL object operator>= (object const &l, object const &r)
 
template<class L , class R >
enable_binary< L, R, object >::type operator>= (L const &l, R const &r)
 
BOOST_PYTHON_DECL object operator< (object const &l, object const &r)
 
template<class L , class R >
enable_binary< L, R, object >::type operator< (L const &l, R const &r)
 
BOOST_PYTHON_DECL object operator<= (object const &l, object const &r)
 
template<class L , class R >
enable_binary< L, R, object >::type operator<= (L const &l, R const &r)
 
BOOST_PYTHON_DECL object operator== (object const &l, object const &r)
 
template<class L , class R >
enable_binary< L, R, object >::type operator== (L const &l, R const &r)
 
BOOST_PYTHON_DECL object operator!= (object const &l, object const &r)
 
template<class L , class R >
enable_binary< L, R, object >::type operator!= (L const &l, R const &r)
 
BOOST_PYTHON_DECL object operator+ (object const &l, object const &r)
 
template<class L , class R >
enable_binary< L, R, object >::type operator+ (L const &l, R const &r)
 
BOOST_PYTHON_DECL object operator- (object const &l, object const &r)
 
template<class L , class R >
enable_binary< L, R, object >::type operator- (L const &l, R const &r)
 
BOOST_PYTHON_DECL object operator* (object const &l, object const &r)
 
template<class L , class R >
enable_binary< L, R, object >::type operator* (L const &l, R const &r)
 
BOOST_PYTHON_DECL object operator/ (object const &l, object const &r)
 
template<class L , class R >
enable_binary< L, R, object >::type operator/ (L const &l, R const &r)
 
BOOST_PYTHON_DECL object operator% (object const &l, object const &r)
 
template<class L , class R >
enable_binary< L, R, object >::type operator% (L const &l, R const &r)
 
BOOST_PYTHON_DECL object operator<< (object const &l, object const &r)
 
template<class L , class R >
enable_binary< L, R, object >::type operator<< (L const &l, R const &r)
 
BOOST_PYTHON_DECL object operator>> (object const &l, object const &r)
 
template<class L , class R >
enable_binary< L, R, object >::type operator>> (L const &l, R const &r)
 
BOOST_PYTHON_DECL object operator& (object const &l, object const &r)
 
template<class L , class R >
enable_binary< L, R, object >::type operator& (L const &l, R const &r)
 
BOOST_PYTHON_DECL object operator^ (object const &l, object const &r)
 
template<class L , class R >
enable_binary< L, R, object >::type operator^ (L const &l, R const &r)
 
BOOST_PYTHON_DECL object operator| (object const &l, object const &r)
 
template<class L , class R >
enable_binary< L, R, object >::type operator| (L const &l, R const &r)
 
BOOST_PYTHON_DECL objectoperator+= (object &l, object const &r)
 
template<class R >
objectoperator+= (object &l, R const &r)
 
BOOST_PYTHON_DECL objectoperator-= (object &l, object const &r)
 
template<class R >
objectoperator-= (object &l, R const &r)
 
BOOST_PYTHON_DECL objectoperator*= (object &l, object const &r)
 
template<class R >
objectoperator*= (object &l, R const &r)
 
BOOST_PYTHON_DECL objectoperator/= (object &l, object const &r)
 
template<class R >
objectoperator/= (object &l, R const &r)
 
BOOST_PYTHON_DECL objectoperator%= (object &l, object const &r)
 
template<class R >
objectoperator%= (object &l, R const &r)
 
BOOST_PYTHON_DECL objectoperator<<= (object &l, object const &r)
 
template<class R >
objectoperator<<= (object &l, R const &r)
 
BOOST_PYTHON_DECL objectoperator>>= (object &l, object const &r)
 
template<class R >
objectoperator>>= (object &l, R const &r)
 
BOOST_PYTHON_DECL objectoperator&= (object &l, object const &r)
 
template<class R >
objectoperator&= (object &l, R const &r)
 
BOOST_PYTHON_DECL objectoperator^= (object &l, object const &r)
 
template<class R >
objectoperator^= (object &l, R const &r)
 
BOOST_PYTHON_DECL objectoperator|= (object &l, object const &r)
 
template<class R >
objectoperator|= (object &l, R const &r)
 
template<class Target , class Key >
object getattr (Target const &target, Key const &key)
 
template<class Target , class Key , class Default >
object getattr (Target const &target, Key const &key, Default const &default_)
 
template<class Key , class Value >
void setattr (object const &target, Key const &key, Value const &value)
 
template<class Key >
void delattr (object const &target, Key const &key)
 
template<class Target , class Key >
object getitem (Target const &target, Key const &key)
 
template<class Key , class Value >
void setitem (object const &target, Key const &key, Value const &value)
 
template<class Key >
void delitem (object const &target, Key const &key)
 
template<class Target , class Begin , class End >
object getslice (Target const &target, Begin const &begin, End const &end)
 
template<class Begin , class End , class Value >
void setslice (object const &target, Begin const &begin, End const &end, Value const &value)
 
template<class Begin , class End >
void delslice (object const &target, Begin const &begin, End const &end)
 
BOOST_PYTHON_DECL object getattr (object const &target, object const &key)
 
BOOST_PYTHON_DECL object getattr (object const &target, object const &key, object const &default_)
 
BOOST_PYTHON_DECL void setattr (object const &target, object const &key, object const &value)
 
BOOST_PYTHON_DECL void delattr (object const &target, object const &key)
 
BOOST_PYTHON_DECL object getattr (object const &target, char const *key)
 
BOOST_PYTHON_DECL object getattr (object const &target, char const *key, object const &default_)
 
BOOST_PYTHON_DECL void setattr (object const &target, char const *key, object const &value)
 
BOOST_PYTHON_DECL void delattr (object const &target, char const *key)
 
BOOST_PYTHON_DECL object getitem (object const &target, object const &key)
 
BOOST_PYTHON_DECL void setitem (object const &target, object const &key, object const &value)
 
BOOST_PYTHON_DECL void delitem (object const &target, object const &key)
 
BOOST_PYTHON_DECL object getslice (object const &target, handle<> const &begin, handle<> const &end)
 
BOOST_PYTHON_DECL void setslice (object const &target, handle<> const &begin, handle<> const &end, object const &value)
 
BOOST_PYTHON_DECL void delslice (object const &target, handle<> const &begin, handle<> const &end)
 
template<class T , class U >
slice_policies::key_type slice_key (T x, U y)
 
template<class T >
void del (proxy< T > const &x)
 
template<class Policies , class R >
proxy< Policies > const & operator+= (proxy< Policies > const &lhs, R const &rhs)
 
template<class Policies , class R >
proxy< Policies > const & operator-= (proxy< Policies > const &lhs, R const &rhs)
 
template<class Policies , class R >
proxy< Policies > const & operator*= (proxy< Policies > const &lhs, R const &rhs)
 
template<class Policies , class R >
proxy< Policies > const & operator/= (proxy< Policies > const &lhs, R const &rhs)
 
template<class Policies , class R >
proxy< Policies > const & operator%= (proxy< Policies > const &lhs, R const &rhs)
 
template<class Policies , class R >
proxy< Policies > const & operator<<= (proxy< Policies > const &lhs, R const &rhs)
 
template<class Policies , class R >
proxy< Policies > const & operator>>= (proxy< Policies > const &lhs, R const &rhs)
 
template<class Policies , class R >
proxy< Policies > const & operator&= (proxy< Policies > const &lhs, R const &rhs)
 
template<class Policies , class R >
proxy< Policies > const & operator^= (proxy< Policies > const &lhs, R const &rhs)
 
template<class Policies , class R >
proxy< Policies > const & operator|= (proxy< Policies > const &lhs, R const &rhs)
 

Typedef Documentation

typedef PyObject*(object::* boost::python::api::bool_type)() const
typedef char(& boost::python::api::no_type)[2]

Function Documentation

BOOST_PYTHON_DECL void boost::python::api::delattr ( object const &  target,
object const &  key 
)
BOOST_PYTHON_DECL void boost::python::api::delattr ( object const &  target,
char const *  key 
)
template<class Key >
void boost::python::api::delattr ( object const &  target,
Key const &  key 
)
BOOST_PYTHON_DECL void boost::python::api::delitem ( object const &  target,
object const &  key 
)
template<class Key >
void boost::python::api::delitem ( object const &  target,
Key const &  key 
)
BOOST_PYTHON_DECL void boost::python::api::delslice ( object const &  target,
handle<> const &  begin,
handle<> const &  end 
)
template<class Begin , class End >
void boost::python::api::delslice ( object const &  target,
Begin const &  begin,
End const &  end 
)
template<class T >
objects::unforward_cref<T>::type boost::python::api::do_unforward_cref ( T const &  x)

References boost::flyweights::x.

BOOST_PYTHON_DECL object boost::python::api::getattr ( object const &  target,
object const &  key 
)
BOOST_PYTHON_DECL object boost::python::api::getattr ( object const &  target,
object const &  key,
object const &  default_ 
)
BOOST_PYTHON_DECL object boost::python::api::getattr ( object const &  target,
char const *  key 
)
BOOST_PYTHON_DECL object boost::python::api::getattr ( object const &  target,
char const *  key,
object const &  default_ 
)
template<class Target , class Key >
object boost::python::api::getattr ( Target const &  target,
Key const &  key 
)
template<class Target , class Key , class Default >
object boost::python::api::getattr ( Target const &  target,
Key const &  key,
Default const &  default_ 
)

References getattr().

BOOST_PYTHON_DECL object boost::python::api::getitem ( object const &  target,
object const &  key 
)
template<class Target , class Key >
object boost::python::api::getitem ( Target const &  target,
Key const &  key 
)
BOOST_PYTHON_DECL object boost::python::api::getslice ( object const &  target,
handle<> const &  begin,
handle<> const &  end 
)
template<class Target , class Begin , class End >
object boost::python::api::getslice ( Target const &  target,
Begin const &  begin,
End const &  end 
)
template<class X >
char boost::python::api::is_object_operators_helper ( object_operators< X > const *  )
no_type boost::python::api::is_object_operators_helper (   ...)
template<class X >
X* boost::python::api::make_ptr ( )
template<class T >
PyObject* boost::python::api::object_base_initializer ( T const &  x)
BOOST_PYTHON_DECL object boost::python::api::operator!= ( object const &  l,
object const &  r 
)
template<class L , class R >
enable_binary<L,R, object >::type boost::python::api::operator!= ( L const &  l,
R const &  r 
)
BOOST_PYTHON_DECL object boost::python::api::operator% ( object const &  l,
object const &  r 
)
template<class L , class R >
enable_binary<L,R, object >::type boost::python::api::operator% ( L const &  l,
R const &  r 
)
template<class Policies , class R >
proxy<Policies> const& boost::python::api::operator%= ( proxy< Policies > const &  lhs,
R const &  rhs 
)
BOOST_PYTHON_DECL object& boost::python::api::operator%= ( object &  l,
object const &  r 
)
template<class R >
object& boost::python::api::operator%= ( object &  l,
R const &  r 
)
BOOST_PYTHON_DECL object boost::python::api::operator& ( object const &  l,
object const &  r 
)
template<class L , class R >
enable_binary<L,R, object >::type boost::python::api::operator& ( L const &  l,
R const &  r 
)
template<class Policies , class R >
proxy<Policies> const& boost::python::api::operator&= ( proxy< Policies > const &  lhs,
R const &  rhs 
)
BOOST_PYTHON_DECL object& boost::python::api::operator&= ( object &  l,
object const &  r 
)
template<class R >
object& boost::python::api::operator&= ( object &  l,
R const &  r 
)
template<class L , class R >
enable_binary<L,R, object >::type boost::python::api::operator* ( L const &  l,
R const &  r 
)
BOOST_PYTHON_DECL object boost::python::api::operator* ( object const &  l,
object const &  r 
)
template<class Policies , class R >
proxy<Policies> const& boost::python::api::operator*= ( proxy< Policies > const &  lhs,
R const &  rhs 
)
BOOST_PYTHON_DECL object& boost::python::api::operator*= ( object &  l,
object const &  r 
)
template<class R >
object& boost::python::api::operator*= ( object &  l,
R const &  r 
)
BOOST_PYTHON_DECL object boost::python::api::operator+ ( object const &  l,
object const &  r 
)
template<class L , class R >
enable_binary<L,R, object >::type boost::python::api::operator+ ( L const &  l,
R const &  r 
)
template<class Policies , class R >
proxy<Policies> const& boost::python::api::operator+= ( proxy< Policies > const &  lhs,
R const &  rhs 
)
BOOST_PYTHON_DECL object& boost::python::api::operator+= ( object &  l,
object const &  r 
)
template<class R >
object& boost::python::api::operator+= ( object &  l,
R const &  r 
)
BOOST_PYTHON_DECL object boost::python::api::operator- ( object const &  l,
object const &  r 
)
template<class L , class R >
enable_binary<L,R, object >::type boost::python::api::operator- ( L const &  l,
R const &  r 
)
template<class Policies , class R >
proxy<Policies> const& boost::python::api::operator-= ( proxy< Policies > const &  lhs,
R const &  rhs 
)
BOOST_PYTHON_DECL object& boost::python::api::operator-= ( object &  l,
object const &  r 
)
template<class R >
object& boost::python::api::operator-= ( object &  l,
R const &  r 
)
template<class L , class R >
enable_binary<L,R, object >::type boost::python::api::operator/ ( L const &  l,
R const &  r 
)
BOOST_PYTHON_DECL object boost::python::api::operator/ ( object const &  l,
object const &  r 
)
template<class Policies , class R >
proxy<Policies> const& boost::python::api::operator/= ( proxy< Policies > const &  lhs,
R const &  rhs 
)
template<class R >
object& boost::python::api::operator/= ( object &  l,
R const &  r 
)
BOOST_PYTHON_DECL object& boost::python::api::operator/= ( object &  l,
object const &  r 
)
template<class L , class R >
enable_binary<L,R, object >::type boost::python::api::operator< ( L const &  l,
R const &  r 
)
BOOST_PYTHON_DECL object boost::python::api::operator< ( object const &  l,
object const &  r 
)
BOOST_PYTHON_DECL object boost::python::api::operator<< ( object const &  l,
object const &  r 
)
template<class L , class R >
enable_binary<L,R, object >::type boost::python::api::operator<< ( L const &  l,
R const &  r 
)
template<class Policies , class R >
proxy<Policies> const& boost::python::api::operator<<= ( proxy< Policies > const &  lhs,
R const &  rhs 
)
BOOST_PYTHON_DECL object& boost::python::api::operator<<= ( object &  l,
object const &  r 
)
template<class R >
object& boost::python::api::operator<<= ( object &  l,
R const &  r 
)
BOOST_PYTHON_DECL object boost::python::api::operator<= ( object const &  l,
object const &  r 
)
template<class L , class R >
enable_binary<L,R, object >::type boost::python::api::operator<= ( L const &  l,
R const &  r 
)
BOOST_PYTHON_DECL object boost::python::api::operator== ( object const &  l,
object const &  r 
)
template<class L , class R >
enable_binary<L,R, object >::type boost::python::api::operator== ( L const &  l,
R const &  r 
)
BOOST_PYTHON_DECL object boost::python::api::operator> ( object const &  l,
object const &  r 
)
template<class L , class R >
enable_binary<L,R, object >::type boost::python::api::operator> ( L const &  l,
R const &  r 
)
BOOST_PYTHON_DECL object boost::python::api::operator>= ( object const &  l,
object const &  r 
)
template<class L , class R >
enable_binary<L,R, object >::type boost::python::api::operator>= ( L const &  l,
R const &  r 
)
BOOST_PYTHON_DECL object boost::python::api::operator>> ( object const &  l,
object const &  r 
)
template<class L , class R >
enable_binary<L,R, object >::type boost::python::api::operator>> ( L const &  l,
R const &  r 
)
template<class Policies , class R >
proxy<Policies> const& boost::python::api::operator>>= ( proxy< Policies > const &  lhs,
R const &  rhs 
)
template<class R >
object& boost::python::api::operator>>= ( object &  l,
R const &  r 
)
BOOST_PYTHON_DECL object& boost::python::api::operator>>= ( object &  l,
object const &  r 
)
template<class L , class R >
enable_binary<L,R, object >::type boost::python::api::operator^ ( L const &  l,
R const &  r 
)
BOOST_PYTHON_DECL object boost::python::api::operator^ ( object const &  l,
object const &  r 
)
template<class Policies , class R >
proxy<Policies> const& boost::python::api::operator^= ( proxy< Policies > const &  lhs,
R const &  rhs 
)
BOOST_PYTHON_DECL object& boost::python::api::operator^= ( object &  l,
object const &  r 
)
template<class R >
object& boost::python::api::operator^= ( object &  l,
R const &  r 
)
BOOST_PYTHON_DECL object boost::python::api::operator| ( object const &  l,
object const &  r 
)
template<class L , class R >
enable_binary<L,R, object >::type boost::python::api::operator| ( L const &  l,
R const &  r 
)
template<class Policies , class R >
proxy<Policies> const& boost::python::api::operator|= ( proxy< Policies > const &  lhs,
R const &  rhs 
)
BOOST_PYTHON_DECL object& boost::python::api::operator|= ( object &  l,
object const &  r 
)
template<class R >
object& boost::python::api::operator|= ( object &  l,
R const &  r 
)
BOOST_PYTHON_DECL void boost::python::api::setattr ( object const &  target,
object const &  key,
object const &  value 
)
BOOST_PYTHON_DECL void boost::python::api::setattr ( object const &  target,
char const *  key,
object const &  value 
)
template<class Key , class Value >
void boost::python::api::setattr ( object const &  target,
Key const &  key,
Value const &  value 
)
BOOST_PYTHON_DECL void boost::python::api::setitem ( object const &  target,
object const &  key,
object const &  value 
)
template<class Key , class Value >
void boost::python::api::setitem ( object const &  target,
Key const &  key,
Value const &  value 
)
BOOST_PYTHON_DECL void boost::python::api::setslice ( object const &  target,
handle<> const &  begin,
handle<> const &  end,
object const &  value 
)
template<class Begin , class End , class Value >
void boost::python::api::setslice ( object const &  target,
Begin const &  begin,
End const &  end,
Value const &  value 
)
template<class T , class U >
slice_policies::key_type boost::python::api::slice_key ( T  x,
y 
)
inline