class ABA_LIST
#include <list.h>
Inheritance diagram for ABA_LIST< Type >::
|
Assign elem the first element as the function extractHead() but does not remove this element from the list.
This version of the function appendHead() adds item at the front of the list.
This version of the function appendTail() adds item at the end of the list.
class ABA_LIST
Definition at line 56 of file list.h.
The constructor initializes the list with the empty list.
This is done by assigning first_ and last_ to the 0-pointer.
The destructor deallocates the memory of all items in the list.
Adds an element at the front of 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 be executed successfully.
1 If the list is empty.
Assign elem the first element as the function extractHead() but does not remove this element from the list.
0 If the operation can be be executed successfully.
1 If the list is empty.
true If no element is contained in the list,
false otherwise.
Returns a pointer to the first item in the list.
Returns a pointer to the last item in the list.
This version of the function appendHead() adds item at the front of the list.
This version of the function appendTail() adds item at the end of the list.
Definition at line 57 of file list.h.
The output operator writes all items of the list on an output stream.
A reference to the output stream.
A pointer to the corresponding global object.
Definition at line 154 of file list.h.
A pointer to the first item of the list.
Definition at line 158 of file list.h.
Definition at line 162 of file list.h.
The documentation for this class was generated from the following file: