4 * This file is part of LyX, the document processor.
5 * 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 "support/types.h"
31 InsetList(InsetList const &);
37 InsetTable(pos_type p, Inset * i) : pos(p), inset(i) {}
44 typedef std::vector<InsetTable> List;
46 typedef List::iterator iterator;
48 typedef List::const_iterator const_iterator;
53 iterator begin() { return list_.begin(); }
55 iterator end() { return list_.end(); }
57 const_iterator begin() const { return list_.begin(); }
59 const_iterator end() const { return list_.end(); }
61 bool empty() const { return list_.empty(); }
63 iterator insetIterator(pos_type pos);
65 const_iterator insetIterator(pos_type pos) const;
67 void insert(Inset * inset, pos_type pos);
69 void erase(pos_type pos);
71 Inset * release(pos_type);
73 Inset * get(pos_type pos) const;
75 void increasePosAfterPos(pos_type pos);
77 void decreasePosAfterPos(pos_type pos);