Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
boost::python::detail::compare_proxy_index< Proxy > Struct Template Reference

#include <indexing_suite_detail.hpp>

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

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  }
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/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: