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