ecto
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies > Class Template Reference

#include <std_map_indexing_suite.hpp>

Inheritance diagram for boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >:
Inheritance graph
[legend]
Collaboration diagram for boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >:
Collaboration graph
[legend]

Classes

struct  init_factory
 
struct  iteritems
 
struct  iterkeys
 
struct  itervalues
 
struct  make_transform_impl
 

Public Types

typedef Container::value_type value_type
 
typedef Container::value_type::second_type data_type
 
typedef Container::key_type key_type
 
typedef Container::key_type index_type
 
typedef Container::size_type size_type
 
typedef Container::difference_type difference_type
 
typedef Container::const_iterator const_iterator
 

Public Member Functions

 BOOST_PYTHON_FUNCTION_OVERLOADS (dict_get_overloads, dict_get, 2, 3)
 

Static Public Member Functions

static object pair_getitem (value_type const &x, int i)
 
static PyObject * pair_iter (value_type const &x)
 
static int pair_len (value_type const &x)
 
static bp::list keys (Container const &x)
 
static bp::list values (Container const &x)
 
static bp::list items (Container const &x)
 
static object dict_get (Container const &x, index_type const &k, object const &default_val=object())
 
static object dict_pop (Container &x, index_type const &k)
 
static object dict_pop_default (Container &x, index_type const &k, object const &default_val)
 
static object dict_pop_item (Container &x)
 
static object dict_fromkeys (object const &keys, object const &value)
 
static void dict_update (object &x, object const &dictlike)
 
template<typename Transform >
static bp::object make_transform ()
 
static object print_elem (typename Container::value_type const &e)
 
static mpl::if_< is_class< data_type >, data_type &, data_type >::type get_data (typename Container::value_type &e)
 
static Container::key_type get_key (typename Container::value_type &e)
 
static data_typeget_item (Container &container, index_type i_)
 
static void set_item (Container &container, index_type i, data_type const &v)
 
static void delete_item (Container &container, index_type i)
 
static size_t size (Container &container)
 
static bool contains (Container &container, key_type const &key)
 
static bool compare_index (Container &container, index_type a, index_type b)
 
static index_type convert_index (Container &container, PyObject *i_)
 
template<class Class >
static void extension_def (Class &cl)
 

Member Typedef Documentation

template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
typedef Container::const_iterator boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::const_iterator
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
typedef Container::value_type::second_type boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::data_type
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
typedef Container::difference_type boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::difference_type
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
typedef Container::key_type boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::index_type
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
typedef Container::key_type boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::key_type
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
typedef Container::size_type boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::size_type
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
typedef Container::value_type boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::value_type

Member Function Documentation

template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::BOOST_PYTHON_FUNCTION_OVERLOADS ( dict_get_overloads  ,
dict_get  ,
,
 
)
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static bool boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::compare_index ( Container &  container,
index_type  a,
index_type  b 
)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static bool boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::contains ( Container &  container,
key_type const &  key 
)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static index_type boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::convert_index ( Container &  container,
PyObject *  i_ 
)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static void boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::delete_item ( Container &  container,
index_type  i 
)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static object boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::dict_fromkeys ( object const &  keys,
object const &  value 
)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static object boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::dict_get ( Container const &  x,
index_type const &  k,
object const &  default_val = object() 
)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static object boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::dict_pop ( Container &  x,
index_type const &  k 
)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static object boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::dict_pop_default ( Container &  x,
index_type const &  k,
object const &  default_val 
)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static object boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::dict_pop_item ( Container &  x)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static void boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::dict_update ( object &  x,
object const &  dictlike 
)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
template<class Class >
static void boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::extension_def ( Class &  cl)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static mpl::if_< is_class<data_type> , data_type& , data_type >::type boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::get_data ( typename Container::value_type &  e)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static data_type& boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::get_item ( Container &  container,
index_type  i_ 
)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static Container::key_type boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::get_key ( typename Container::value_type &  e)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static bp::list boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::items ( Container const &  x)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static bp::list boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::keys ( Container const &  x)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
template<typename Transform >
static bp::object boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::make_transform ( )
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static object boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::pair_getitem ( value_type const &  x,
int  i 
)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static PyObject* boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::pair_iter ( value_type const &  x)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static int boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::pair_len ( value_type const &  x)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static object boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::print_elem ( typename Container::value_type const &  e)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static void boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::set_item ( Container &  container,
index_type  i,
data_type const &  v 
)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static size_t boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::size ( Container &  container)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_std_map_derived_policies<Container, NoProxy>>
static bp::list boost::python::std_map_indexing_suite< Container, NoProxy, DerivedPolicies >::values ( Container const &  x)
inlinestatic

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