2004-03-30 12:14:01 +00:00
|
|
|
/**
|
|
|
|
* \file insetiterator.C
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Alfredo Braunstein
|
|
|
|
* \author André Pönitz
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
2004-03-27 12:33:53 +00:00
|
|
|
|
|
|
|
#include "insetiterator.h"
|
|
|
|
|
|
|
|
#include <boost/assert.hpp>
|
|
|
|
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
namespace lyx {
|
|
|
|
|
|
|
|
|
2004-03-27 12:33:53 +00:00
|
|
|
InsetIterator::InsetIterator(InsetBase & inset)
|
2004-03-31 19:11:56 +00:00
|
|
|
: DocIterator(inset)
|
2004-03-27 12:33:53 +00:00
|
|
|
{
|
2004-03-30 08:18:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
InsetIterator inset_iterator_begin(InsetBase & inset)
|
|
|
|
{
|
|
|
|
InsetIterator it = InsetIterator(inset);
|
|
|
|
it.forwardInset();
|
|
|
|
return it;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
InsetIterator inset_iterator_end(InsetBase & inset)
|
|
|
|
{
|
|
|
|
return InsetIterator(inset);
|
2004-03-27 12:33:53 +00:00
|
|
|
}
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
} // namespace lyx
|