1 #ifndef CIRC_DL_ELEMENT_H
3 #define CIRC_DL_ELEMENT_H
7 namespace datastructure {
92 return "CircularDoublyLinkedList";
154 : start(s), last(s) {
169 return this->current != it.current;
235 return this->current != it.current;
Definition: CircDLelement.h:226
iterator & operator++()
Definition: CircDLelement.h:242
iterator & operator--()
Definition: CircDLelement.h:246
bool operator!=(const iterator &it) const
Definition: CircDLelement.h:234
E const & operator*() const
Definition: CircDLelement.h:238
iterator(typename bridges::datastructure::CircDLelement< E > const *c)
Definition: CircDLelement.h:230
these are helper classes for CircDLelement for easy iteration in a range for loop....
Definition: CircDLelement.h:220
iterator begin()
Definition: CircDLelement.h:258
iterator rbegin()
Definition: CircDLelement.h:265
iterator end()
Definition: CircDLelement.h:261
CircDLelement_constlisthelper(typename bridges::datastructure::CircDLelement< E > const *s)
Definition: CircDLelement.h:224
iterator rend()
Definition: CircDLelement.h:268
Definition: CircDLelement.h:158
bool operator!=(const iterator &it) const
Definition: CircDLelement.h:168
E const & operator*() const
Definition: CircDLelement.h:172
iterator & operator--()
Definition: CircDLelement.h:189
iterator & operator++()
Definition: CircDLelement.h:180
iterator(typename bridges::datastructure::CircDLelement< E > *c)
Definition: CircDLelement.h:164
these are helper classes for CircDLelement for easy iteration in a range for loop....
Definition: CircDLelement.h:149
iterator rend()
Definition: CircDLelement.h:213
CircDLelement_listhelper(typename bridges::datastructure::CircDLelement< E > *s)
Definition: CircDLelement.h:153
iterator begin()
Definition: CircDLelement.h:201
iterator end()
Definition: CircDLelement.h:205
iterator rbegin()
Definition: CircDLelement.h:210
This class can be used to instantiate Circular Doubly Linked List Elements.
Definition: CircDLelement.h:36
const CircDLelement< E > * getNext() const override
Definition: CircDLelement.h:99
CircDLelement< E > * getPrev() override
Definition: CircDLelement.h:125
CircDLelement(E e, CircDLelement< E > next, CircDLelement< E > prev)
Definition: CircDLelement.h:82
virtual CircDLelement< E > * getNext() override
Definition: CircDLelement.h:107
const CircDLelement< E > * getPrev() const override
Definition: CircDLelement.h:133
CircDLelement(E e, string label)
Definition: CircDLelement.h:51
CircDLelement(CircDLelement< E > next, CircDLelement< E > prev)
Definition: CircDLelement.h:66
void setNext(CircDLelement< E > *next)
Definition: CircDLelement.h:117
void setPrev(CircDLelement< E > *prev)
Definition: CircDLelement.h:141
CircDLelement()
Definition: CircDLelement.h:42
virtual const string getDStype() const override
Definition: CircDLelement.h:91
The doubly linked list element, derived from SLelement.
Definition: DLelement.h:24
virtual DLelement * getPrev()
Definition: DLelement.h:102
virtual void setPrev(DLelement *p)
Definition: DLelement.h:118
void setNext(DLelement *n)
Definition: DLelement.h:89
E const & getValue() const
Gets the object held in the generic object E.
Definition: Element.h:207
virtual SLelement * getNext()
Returns the next element in the list.
Definition: SLelement.h:74
SLelement * next
Definition: SLelement.h:29
typename CircDLelement< E >::CircDLelement_constlisthelper CircDLelement_ConstList
Definition: CircDLelement.h:276
typename CircDLelement< E >::CircDLelement_listhelper CircDLelement_List
Definition: CircDLelement.h:274
Support for drawing Bar charts.
Definition: alltypes.h:4