Geant4  10.02.p03
boost::python::detail::compare_proxy_index< Proxy > Struct Template Reference

#include <indexing_suite_detail.hpp>

Collaboration diagram for boost::python::detail::compare_proxy_index< Proxy >:

Public Member Functions

template<class Index >
bool operator() (PyObject *prox, Index i) const
 
template<class Index >
bool operator() (PyObject *prox, Index i) const
 

Detailed Description

template<class Proxy>
struct boost::python::detail::compare_proxy_index< Proxy >

Definition at line 28 of file source/boost/detail/indexing_suite_detail.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<class Proxy >
template<class Index >
bool boost::python::detail::compare_proxy_index< Proxy >::operator() ( PyObject *  prox,
Index  i 
) const
inline

Definition at line 35 of file source/boost/detail/indexing_suite_detail.hpp.

36  {
37  typedef typename Proxy::policies_type policies_type;
38  Proxy& proxy = extract<Proxy&>(prox)();
39  return policies_type::
40  compare_index(proxy.get_container(), proxy.get_index(), i);
41  }

◆ operator()() [2/2]

template<class Proxy >
template<class Index >
bool boost::python::detail::compare_proxy_index< Proxy >::operator() ( PyObject *  prox,
Index  i 
) const
inline

Definition at line 35 of file tests/test12/module/include/detail/indexing_suite_detail.hpp.

36  {
37  typedef typename Proxy::policies_type policies_type;
38  Proxy& proxy = extract<Proxy&>(prox)();
39  return policies_type::
40  compare_index(proxy.get_container(), proxy.get_index(), i);
41  }

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