6 #include "support/types.h"
23 InsetTable(lyx::pos_type p, Inset * i) : pos(p), inset(i) {}
26 typedef std::vector<InsetTable> List;
34 iterator(List::iterator const & iter);
36 iterator & operator++();
38 iterator operator++(int);
40 lyx::pos_type getPos() const;
42 Inset * getInset() const;
44 void setInset(Inset * inset);
46 friend bool operator==(iterator const &, iterator const &);
58 iterator begin() const;
62 iterator insetIterator(lyx::pos_type pos);
64 void insert(Inset * inset, lyx::pos_type pos);
66 void erase(lyx::pos_type pos);
68 Inset * release(lyx::pos_type);
70 Inset * get(lyx::pos_type pos) const;
72 void increasePosAfterPos(lyx::pos_type pos);
74 void decreasePosAfterPos(lyx::pos_type pos);
76 void deleteInsetsLyXText(BufferView * bv);
78 void resizeInsetsLyXText(BufferView * bv);
85 bool operator==(InsetList::iterator const & i1,
86 InsetList::iterator const & i2);
88 bool operator!=(InsetList::iterator const & i1,
89 InsetList::iterator const & i2);