File indexing completed on 2025-01-19 09:46:11
0001
0002
0003
0004 #ifndef WRAPPER_DWA2004720_HPP
0005 # define WRAPPER_DWA2004720_HPP
0006
0007 # include <boost/python/detail/wrapper_base.hpp>
0008 # include <boost/python/override.hpp>
0009 # include <boost/python/converter/registered.hpp>
0010 # include <boost/python/detail/sfinae.hpp>
0011
0012 namespace boost { namespace python {
0013
0014 template <class T>
0015 class wrapper : public detail::wrapper_base
0016 {
0017 public:
0018
0019 typedef T _wrapper_wrapped_type_;
0020
0021 protected:
0022 override get_override(char const* name) const
0023 {
0024 typedef detail::wrapper_base base;
0025 converter::registration const& r
0026 = converter::registered<T>::converters;
0027 PyTypeObject* type = r.get_class_object();
0028
0029 return this->base::get_override(name, type);
0030 }
0031 };
0032
0033 }}
0034
0035 #endif