#include <linklist.H>
Public Methods | |
| LINKLIST () | |
| LINKLIST (const LINKLIST< T > &l) | |
| const LINKLIST< T > & | operator= (const LINKLIST< T > &right) |
| Iterator | insert_before (Iterator position, const T &data) |
| Iterator | insert_after (Iterator position, const T &data) |
| Iterator | insert (Iterator position, const T &data) |
| Iterator | insert (const T &data) |
| Iterator | erase (Iterator position) |
| const T & | front () const |
| T & | front () |
| const T & | back () const |
| T & | back () |
| Iterator | begin () const |
| Iterator | end () const |
| Iterator | rbegin () const |
| Iterator | get_iterator_at (int index) const |
| Iterator | rget_iterator_at (int index) const |
| Iterator | push_front (const T &data) |
| Iterator | push_back (const T &data) |
| T | pop_front () |
| T | pop_back () |
| void | swap (Iterator pos1, Iterator pos2) |
| Iterator | find (const T &data) |
| void | clear () |
| bool | empty () const |
| int | size () |
| int | num () |
| void | reverse () |
| int | operator== (const LINKLIST< T > &) |
Protected Attributes | |
| int | _length |
| Node * | _bound |
Friends | |
| class | Iterator |
| struct | Node |
|
|||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
||||||||||||||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
1.2.18