• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1  // Copyright Eric Niebler 2005.
2  // Distributed under the Boost Software License, Version 1.0. (See
3  // accompanying file LICENSE_1_0.txt or copy at
4  // http://www.boost.org/LICENSE_1_0.txt)
5  #ifndef STL_ITERATOR_CORE_EAN20051028_HPP
6  # define STL_ITERATOR_CORE_EAN20051028_HPP
7  
8  # include <boost/python/object_fwd.hpp>
9  # include <boost/python/handle_fwd.hpp>
10  
11  namespace boost { namespace python { namespace objects {
12  
13  struct BOOST_PYTHON_DECL stl_input_iterator_impl
14  {
15      stl_input_iterator_impl();
16      stl_input_iterator_impl(boost::python::object const &ob);
17      void increment();
18      bool equal(stl_input_iterator_impl const &that) const;
19      boost::python::handle<> const &current() const;
20  private:
21      boost::python::object it_;
22      boost::python::handle<> ob_;
23  };
24  
25  }}} // namespace boost::python::object
26  
27  #endif // STL_ITERATOR_CORE_EAN20051028_HPP
28