| // Copyright Eric Niebler 2005. |
| // Distributed under the Boost Software License, Version 1.0. (See |
| // accompanying file LICENSE_1_0.txt or copy at |
| // http://www.boost.org/LICENSE_1_0.txt) |
| #ifndef STL_ITERATOR_CORE_EAN20051028_HPP |
| # define STL_ITERATOR_CORE_EAN20051028_HPP |
| |
| # include <boost/python/object_fwd.hpp> |
| # include <boost/python/handle_fwd.hpp> |
| |
| namespace boost { namespace python { namespace objects { |
| |
| struct BOOST_PYTHON_DECL stl_input_iterator_impl |
| { |
| stl_input_iterator_impl(); |
| stl_input_iterator_impl(boost::python::object const &ob); |
| void increment(); |
| bool equal(stl_input_iterator_impl const &that) const; |
| boost::python::handle<> const ¤t() const; |
| private: |
| boost::python::object it_; |
| boost::python::handle<> ob_; |
| }; |
| |
| }}} // namespace boost::python::object |
| |
| #endif // STL_ITERATOR_CORE_EAN20051028_HPP |