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

#include <class.hpp>

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

Public Member Functions

 class_base (char const *name, std::size_t num_types, type_info const *const types, char const *doc=0)
 
void enable_pickling_ (bool getstate_manages_dict)
 
PyObject * ptr () const
 
bool is_none () const
 
object operator() () const
 
object operator() (detail::args_proxy const &args) const
 
object operator() (detail::args_proxy const &args, detail::kwds_proxy const &kwds) const
 
detail::args_proxy operator* () const
 
 operator bool_type () const
 
bool operator! () const
 
const_object_attribute attr (char const *) const
 
object_attribute attr (char const *)
 
const_object_objattribute attr (object const &) const
 
object_objattribute attr (object const &)
 
object contains (T const &key) const
 
const_object_item operator[] (object_cref) const
 
object_item operator[] (object_cref)
 
const_object_item operator[] (T const &key) const
 
object_item operator[] (T const &key)
 
const_object_slice slice (object_cref, object_cref) const
 
object_slice slice (object_cref, object_cref)
 
const_object_slice slice (slice_nil, object_cref) const
 
object_slice slice (slice_nil, object_cref)
 
const_object_slice slice (object_cref, slice_nil) const
 
object_slice slice (object_cref, slice_nil)
 
const_object_slice slice (slice_nil, slice_nil) const
 
object_slice slice (slice_nil, slice_nil)
 
const_object_slice slice (T const &start, V const &end) const
 
object_slice slice (T const &start, V const &end)
 

Protected Types

typedef object const & object_cref
 

Protected Member Functions

void add_property (char const *name, object const &fget, char const *docstr)
 
void add_property (char const *name, object const &fget, object const &fset, char const *docstr)
 
void add_static_property (char const *name, object const &fget)
 
void add_static_property (char const *name, object const &fget, object const &fset)
 
void setattr (char const *name, object const &)
 
void set_instance_size (std::size_t bytes)
 
void def_no_init ()
 
void make_method_static (const char *method_name)
 
objectconst & derived_visitor () const
 

Member Typedef Documentation

typedef object const& boost::python::api::object_operators< object >::object_cref
protectedinherited

Constructor & Destructor Documentation

boost::python::objects::class_base::class_base ( char const *  name,
std::size_t  num_types,
type_info const *const  types,
char const *  doc = 0 
)

Member Function Documentation

void boost::python::objects::class_base::add_property ( char const *  name,
object const &  fget,
char const *  docstr 
)
protected
void boost::python::objects::class_base::add_property ( char const *  name,
object const &  fget,
object const &  fset,
char const *  docstr 
)
protected
void boost::python::objects::class_base::add_static_property ( char const *  name,
object const &  fget 
)
protected
void boost::python::objects::class_base::add_static_property ( char const *  name,
object const &  fget,
object const &  fset 
)
protected
const_object_attribute boost::python::api::object_operators< object >::attr ( char const *  ) const
inherited
object_attribute boost::python::api::object_operators< object >::attr ( char const *  )
inherited
const_object_objattribute boost::python::api::object_operators< object >::attr ( object const &  ) const
inherited
object_objattribute boost::python::api::object_operators< object >::attr ( object const &  )
inherited
object boost::python::api::object_operators< object >::contains ( T const &  key) const
inherited
void boost::python::objects::class_base::def_no_init ( )
protected
object const& boost::python::def_visitor< object >::derived_visitor ( ) const
inlineprotectedinherited
void boost::python::objects::class_base::enable_pickling_ ( bool  getstate_manages_dict)
bool boost::python::api::object_base::is_none ( ) const
inlineinherited
void boost::python::objects::class_base::make_method_static ( const char *  method_name)
protected
boost::python::api::object_operators< object >::operator bool_type ( ) const
inherited
bool boost::python::api::object_operators< object >::operator! ( ) const
inherited
object boost::python::api::object_operators< object >::operator() ( ) const
inherited
object boost::python::api::object_operators< object >::operator() ( detail::args_proxy const &  args) const
inherited
object boost::python::api::object_operators< object >::operator() ( detail::args_proxy const &  args,
detail::kwds_proxy const &  kwds 
) const
inherited
const_object_item boost::python::api::object_operators< object >::operator[] ( object_cref  ) const
inherited
object_item boost::python::api::object_operators< object >::operator[] ( object_cref  )
inherited
const_object_item boost::python::api::object_operators< object >::operator[] ( T const &  key) const
inherited
object_item boost::python::api::object_operators< object >::operator[] ( T const &  key)
inherited
void boost::python::objects::class_base::set_instance_size ( std::size_t  bytes)
protected
void boost::python::objects::class_base::setattr ( char const *  name,
object const &   
)
protected
const_object_slice boost::python::api::object_operators< object >::slice ( object_cref  ,
object_cref   
) const
inherited
object_slice boost::python::api::object_operators< object >::slice ( object_cref  ,
object_cref   
)
inherited
const_object_slice boost::python::api::object_operators< object >::slice ( slice_nil  ,
object_cref   
) const
inherited
object_slice boost::python::api::object_operators< object >::slice ( slice_nil  ,
object_cref   
)
inherited
const_object_slice boost::python::api::object_operators< object >::slice ( object_cref  ,
slice_nil   
) const
inherited
object_slice boost::python::api::object_operators< object >::slice ( object_cref  ,
slice_nil   
)
inherited
const_object_slice boost::python::api::object_operators< object >::slice ( slice_nil  ,
slice_nil   
) const
inherited
object_slice boost::python::api::object_operators< object >::slice ( slice_nil  ,
slice_nil   
)
inherited
const_object_slice boost::python::api::object_operators< object >::slice ( T const &  start,
V const &  end 
) const
inherited
object_slice boost::python::api::object_operators< object >::slice ( T const &  start,
V const &  end 
)
inherited

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