Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::python::map_indexing_suite< Container, NoProxy, DerivedPolicies > Class Template Reference

#include <map_indexing_suite.hpp>

Inheritance diagram for boost::python::map_indexing_suite< Container, NoProxy, DerivedPolicies >:
Collaboration diagram for boost::python::map_indexing_suite< Container, NoProxy, DerivedPolicies >:

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
 

Public Member Functions

void visit (Class &cl) const
 

Static Public Member Functions

template<class Class >
static void extension_def (Class &cl)
 
static object print_elem (typename Container::value_type const &e)
 
static mpl::if_< mpl::and_
< is_class< data_type >
, mpl::bool_<!NoProxy >
>, 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 &, PyObject *i_)
 

Protected Member Functions

indexing_suite< Container,
DerivedPolicies, NoProxy,
NoSlice,
Container::value_type::second_type,
Container::key_type,
Container::key_type >const & 
derived_visitor () const
 

Member Typedef Documentation

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

Member Function Documentation

template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_map_derived_policies<Container, NoProxy>>
static bool boost::python::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_map_derived_policies<Container, NoProxy>>
static bool boost::python::map_indexing_suite< Container, NoProxy, DerivedPolicies >::contains ( Container &  container,
key_type const &  key 
)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_map_derived_policies<Container, NoProxy>>
static index_type boost::python::map_indexing_suite< Container, NoProxy, DerivedPolicies >::convert_index ( Container &  ,
PyObject *  i_ 
)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_map_derived_policies<Container, NoProxy>>
static void boost::python::map_indexing_suite< Container, NoProxy, DerivedPolicies >::delete_item ( Container &  container,
index_type  i 
)
inlinestatic
indexing_suite< Container, DerivedPolicies, NoProxy, NoSlice, Container::value_type::second_type, Container::key_type, Container::key_type > const& boost::python::def_visitor< indexing_suite< Container, DerivedPolicies, NoProxy, NoSlice, Container::value_type::second_type, Container::key_type, Container::key_type > >::derived_visitor ( ) const
inlineprotectedinherited

References boost::detail::const.

template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_map_derived_policies<Container, NoProxy>>
template<class Class >
static void boost::python::map_indexing_suite< Container, NoProxy, DerivedPolicies >::extension_def ( Class &  cl)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_map_derived_policies<Container, NoProxy>>
static mpl::if_< mpl::and_<is_class<data_type>, mpl::bool_<!NoProxy> > , data_type& , data_type >::type boost::python::map_indexing_suite< Container, NoProxy, DerivedPolicies >::get_data ( typename Container::value_type &  e)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_map_derived_policies<Container, NoProxy>>
static data_type& boost::python::map_indexing_suite< Container, NoProxy, DerivedPolicies >::get_item ( Container &  container,
index_type  i_ 
)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_map_derived_policies<Container, NoProxy>>
static Container::key_type boost::python::map_indexing_suite< Container, NoProxy, DerivedPolicies >::get_key ( typename Container::value_type &  e)
inlinestatic
template<class Container, bool NoProxy = false, class DerivedPolicies = detail::final_map_derived_policies<Container, NoProxy>>
static object boost::python::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_map_derived_policies<Container, NoProxy>>
static void boost::python::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_map_derived_policies<Container, NoProxy>>
static size_t boost::python::map_indexing_suite< Container, NoProxy, DerivedPolicies >::size ( Container &  container)
inlinestatic
void boost::python::indexing_suite< Container, DerivedPolicies, NoProxy, NoSlice, Container::value_type::second_type , Container::key_type , Container::key_type >::visit ( Class &  cl) const
inlineinherited

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