#include <pwl.hh>
Inherits Parma_Watchdog_Library::Doubly_Linked_Object.
Public Types | |
| typedef EList_Iterator< const T > | Const_Iterator |
| A const iterator to traverse the list. | |
| typedef EList_Iterator< T > | Iterator |
| A non-const iterator to traverse the list. | |
Public Member Functions | |
| EList () | |
| Constructs an empty list. | |
| ~EList () | |
| Destructs the list and all the elements in it. | |
| void | push_front (T &obj) |
Pushes obj to the front of the list. | |
| void | push_back (T &obj) |
Pushes obj to the back of the list. | |
| Iterator | insert (Iterator position, T &obj) |
Inserts obj just before position and returns an iterator that points to the inserted object. | |
| Iterator | erase (Iterator position) |
Removes the element pointed to by position, returning an iterator pointing to the next element, if any, or end(), otherwise. | |
| bool | empty () const |
Returns true if and only if the list is empty. | |
| Iterator | begin () |
| Returns an iterator pointing to the beginning of the list. | |
| Iterator | end () |
| Returns an iterator pointing one past the last element in the list. | |
| Const_Iterator | begin () const |
| Returns a const iterator pointing to the beginning of the list. | |
| Const_Iterator | end () const |
| Returns a const iterator pointing one past the last element in the list. | |
| bool | OK () const |
| Checks if all the invariants are satisfied. | |
1.5.7.1