tufte layout files:
[lyx.git] / src / InsetIterator.cpp
blobd9ed1e3737e23f7510cc13edd7945c8f6714c1a9
1 /**
2 * \file InsetIterator.cpp
3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Alfredo Braunstein
7 * \author André Pönitz
9 * Full author contact details are available in file CREDITS.
12 #include <config.h>
14 #include "InsetIterator.h"
16 #include "support/lassert.h"
19 namespace lyx {
22 InsetIterator::InsetIterator(Inset & inset)
23 : DocIterator(&inset.buffer(), &inset)
28 InsetIterator inset_iterator_begin(Inset & inset)
30 InsetIterator it = InsetIterator(inset);
31 it.forwardInset();
32 return it;
36 InsetIterator inset_iterator_end(Inset & inset)
38 return InsetIterator(inset);
42 } // namespace lyx