class ABA_DLIST implements a doubly linked linear list. The list is implemented by a doubly linked list of ABA_DLISTITEMs.
#include <dlist.h>
Inheritance diagram for ABA_DLIST< Type >::
|
If the list is non-empty, the function removeHead() removes the head of the list.
This version of the function remove() scans the list for an item with element elem beginning at the first element of the list.
class ABA_DLIST implements a doubly linked linear list. The list is implemented by a doubly linked list of ABA_DLISTITEMs.
Definition at line 62 of file dlist.h.
The constructor for an empty list.
The destructor deallocates the memory of all items in the list.
Adds an element at the end of the list.
Assigns to elem the first element in the list and removes it from the list.
0 If the operation can be executed successfully.
1 If the list is empty.
If the list is non-empty, the function removeHead() removes the head of the list.
0 If the list is non-empty before the function is called,
1 otherwise.
The function remove() removes item from the list.
This version of the function remove() scans the list for an item with element elem beginning at the first element of the list.
The first matching item is removed from the list.
Returns a pointer to the first item of the list.
Returns a pointer to the last item of the list.
true If no element is contained in the list,
false otherwise.
Retrieves the first element of the list.
0 If the list is not empty,
1 otherwise.
The output operator writes all elements of the list on an output stream.
A reference to the output stream.
A pointer to corresponding global object.
Definition at line 162 of file dlist.h.
A pointer to the first item of the list.
Definition at line 166 of file dlist.h.
A pointer to the last item in the list.
Definition at line 170 of file dlist.h.
The documentation for this class was generated from the following file: