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;
36 ParagraphList & plist() const;
41 bool operator==(ParIterator const & iter1, ParIterator const & iter2);
44 boost::scoped_ptr<Pimpl> pimpl_;
48 bool operator==(ParIterator const & iter1, ParIterator const & iter2);
51 bool operator!=(ParIterator const & iter1, ParIterator const & iter2);
54 class ParConstIterator {
57 ParConstIterator(ParagraphList::iterator pit, ParagraphList const & pl);
61 ParConstIterator(ParConstIterator const &);
63 ParConstIterator & operator++();
65 ParagraphList::iterator operator*() const;
67 ParagraphList::iterator operator->() const;
73 bool operator==(ParConstIterator const & iter1,
74 ParConstIterator const & iter2);
77 boost::scoped_ptr<Pimpl> pimpl_;
80 bool operator==(ParConstIterator const & iter1,
81 ParConstIterator const & iter2);
83 bool operator!=(ParConstIterator const & iter1,
84 ParConstIterator const & iter2);