|
PPL
1.2
|
A (base) class for doubly linked objects. More...
#include <Doubly_Linked_Object_defs.hh>


Public Member Functions | |
| Doubly_Linked_Object () | |
| Default constructor. More... | |
| Doubly_Linked_Object (Doubly_Linked_Object *f, Doubly_Linked_Object *b) | |
Creates a chain element with forward link f and backward link b. More... | |
| void | insert_before (Doubly_Linked_Object &y) |
Inserts y before *this. More... | |
| void | insert_after (Doubly_Linked_Object &y) |
Inserts y after *this. More... | |
| Doubly_Linked_Object * | erase () |
Erases *this from the chain and returns a pointer to the next element. More... | |
| ~Doubly_Linked_Object () | |
Erases *this from the chain. More... | |
Private Attributes | |
| Doubly_Linked_Object * | next |
| Forward link. More... | |
| Doubly_Linked_Object * | prev |
| Backward link. More... | |
Friends | |
| template<typename T > | |
| class | EList |
| template<typename T > | |
| class | EList_Iterator |
A (base) class for doubly linked objects.
Definition at line 32 of file Doubly_Linked_Object_defs.hh.
|
inline |
|
inline |
Creates a chain element with forward link f and backward link b.
Definition at line 36 of file Doubly_Linked_Object_inlines.hh.
|
inline |
Erases *this from the chain.
Definition at line 66 of file Doubly_Linked_Object_inlines.hh.
References erase().
|
inline |
Erases *this from the chain and returns a pointer to the next element.
Definition at line 59 of file Doubly_Linked_Object_inlines.hh.
Referenced by ~Doubly_Linked_Object().
|
inline |
Inserts y after *this.
Definition at line 51 of file Doubly_Linked_Object_inlines.hh.
|
inline |
Inserts y before *this.
Definition at line 43 of file Doubly_Linked_Object_inlines.hh.
|
friend |
Definition at line 59 of file Doubly_Linked_Object_defs.hh.
|
friend |
Definition at line 60 of file Doubly_Linked_Object_defs.hh.
|
private |
Forward link.
Definition at line 54 of file Doubly_Linked_Object_defs.hh.
Referenced by erase(), insert_after(), and insert_before().
|
private |
Backward link.
Definition at line 57 of file Doubly_Linked_Object_defs.hh.
Referenced by erase(), insert_after(), and insert_before().