13 #ifndef __SEGMENTLIST_H__ 14 #define __SEGMENTLIST_H__ 33 void clear() { _first = _last = 0; _size = 0; }
Definition: segmentlist.h:26
Segment & operator*()
Definition: segmentlist.h:59
void push_front(Segment *)
Definition: segmentlist.cpp:178
Definition: segmentlist.h:53
void clear()
Definition: segmentlist.h:33
bool operator!=(const iterator &i) const
Definition: segmentlist.h:58
const_iterator(const Segment *s)
Definition: segmentlist.h:64
int _size
Number of items in segment list.
Definition: segmentlist.h:29
Segment * first() const
Definition: segmentlist.h:42
Segment * next() const
Definition: segment.h:85
const Segment * p
Definition: segmentlist.h:62
Segment * last() const
Definition: segmentlist.h:46
Segment * firstCRSegment() const
Definition: segmentlist.cpp:195
SegmentList clone() const
Definition: segmentlist.cpp:23
SegmentType
Definition: types.h:333
void push_back(Segment *)
Definition: segmentlist.cpp:161
ElementFlag
Definition: element.h:66
SegmentList()
Definition: segmentlist.h:32
Segment * _last
Last item of segment list.
Definition: segmentlist.h:28
Definition: aeolus.cpp:26
Segment * _first
First item of segment list.
Definition: segmentlist.h:27
const_iterator operator++()
Definition: segmentlist.h:65
void insert(Segment *e, Segment *el)
Insert Segment e before Segment el.
Definition: segmentlist.cpp:103
Segment * p
Definition: segmentlist.h:54
iterator begin()
Definition: segmentlist.h:70
iterator operator++()
Definition: segmentlist.h:57
void check()
Definition: segmentlist.cpp:41
iterator end()
Definition: segmentlist.h:71
const Segment & operator*() const
Definition: segmentlist.h:67
int size() const
Definition: segmentlist.h:40
Definition: segmentlist.h:61
iterator(Segment *s)
Definition: segmentlist.h:56
const_iterator end() const
Definition: segmentlist.h:73
const_iterator begin() const
Definition: segmentlist.h:72