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

#include <enum_base.hpp>

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

Public Member Functions

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

 enum_base (char const *name, converter::to_python_function_t, converter::convertible_function, converter::constructor_function, type_info, const char *doc=0)
 
void add_value (char const *name, long value)
 
void export_values ()
 
objectconst & derived_visitor () const
 

Static Protected Member Functions

static PyObject * to_python (PyTypeObject *type, long x)
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

boost::python::objects::enum_base::enum_base ( char const *  name,
converter::to_python_function_t  ,
converter::convertible_function  ,
converter::constructor_function  ,
type_info  ,
const char *  doc = 0 
)
protected

Member Function Documentation

void boost::python::objects::enum_base::add_value ( char const *  name,
long  value 
)
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
object const& boost::python::def_visitor< object >::derived_visitor ( ) const
inlineprotectedinherited
void boost::python::objects::enum_base::export_values ( )
protected
bool boost::python::api::object_base::is_none ( ) const
inlineinherited
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
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
static PyObject* boost::python::objects::enum_base::to_python ( PyTypeObject *  type,
long  x 
)
staticprotected

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