3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
9 * Full author contact details are available in file CREDITS
15 #include "ParagraphList.h"
17 #include <boost/scoped_ptr.hpp>
22 ParIterator(ParagraphList::iterator pit, ParagraphList const & pl);
26 ParIterator(ParIterator const &);
28 void operator=(ParIterator const &);
30 ParIterator & operator++();
32 ParagraphList::iterator operator*() const;
34 ParagraphList::iterator operator->() const;
39 bool operator==(ParIterator const & iter1, ParIterator const & iter2);
42 boost::scoped_ptr<Pimpl> pimpl_;
46 bool operator==(ParIterator const & iter1, ParIterator const & iter2);
49 bool operator!=(ParIterator const & iter1, ParIterator const & iter2);
52 class ParConstIterator {
55 ParConstIterator(ParagraphList::iterator pit, ParagraphList const & pl);
59 ParConstIterator(ParConstIterator const &);
61 ParConstIterator & operator++();
63 ParagraphList::iterator operator*() const;
65 ParagraphList::iterator operator->() const;
71 bool operator==(ParConstIterator const & iter1,
72 ParConstIterator const & iter2);
75 boost::scoped_ptr<Pimpl> pimpl_;
78 bool operator==(ParConstIterator const & iter1,
79 ParConstIterator const & iter2);
81 bool operator!=(ParConstIterator const & iter1,
82 ParConstIterator const & iter2);