sl@0: // Copyright David Abrahams 2004. Distributed under the Boost sl@0: // Software License, Version 1.0. (See accompanying sl@0: // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) sl@0: #ifndef WRAPPER_DWA2004720_HPP sl@0: # define WRAPPER_DWA2004720_HPP sl@0: sl@0: # include sl@0: # include sl@0: # include sl@0: # include sl@0: sl@0: namespace boost { namespace python { sl@0: sl@0: template sl@0: class wrapper : public detail::wrapper_base sl@0: { sl@0: public: sl@0: // Do not touch this implementation detail! sl@0: typedef T _wrapper_wrapped_type_; sl@0: sl@0: protected: sl@0: override get_override(char const* name) const sl@0: { sl@0: typedef detail::wrapper_base base; sl@0: converter::registration const& r sl@0: = converter::registered::converters; sl@0: PyTypeObject* type = r.get_class_object(); sl@0: sl@0: return this->base::get_override(name, type); sl@0: } sl@0: }; sl@0: sl@0: }} // namespace boost::python sl@0: sl@0: #endif // WRAPPER_DWA2004720_HPP