![]() |
My Project
|
#include <ftmpl_list.h>
Public Member Functions | |
| List () | |
| List (const List< T > &) | |
| List (const T &) | |
| ~List () | |
| List< T > & | operator= (const List< T > &) |
| void | insert (const T &) |
| void | insert (const T &, int(*cmpf)(const T &, const T &)) |
| void | insert (const T &, int(*cmpf)(const T &, const T &), void(*insf)(T &, const T &)) |
| void | append (const T &) |
| int | isEmpty () const |
| int | length () const |
| T | getFirst () const |
| void | removeFirst () |
| T | getLast () const |
| void | removeLast () |
| void | sort (int(*)(const T &, const T &)) |
| void | print (OSTREAM &) const |
Private Attributes | |
| ListItem< T > * | first |
| ListItem< T > * | last |
| int | _length |
Friends | |
| class | ListIterator< T > |
| OSTREAM & | operator (OSTREAM &os, const List< T > &l) |
Definition at line 51 of file ftmpl_list.h.
Definition at line 86 of file ftmpl_list.cc.
Definition at line 94 of file ftmpl_list.cc.
Definition at line 119 of file ftmpl_list.cc.
Definition at line 127 of file ftmpl_list.cc.
Definition at line 279 of file ftmpl_list.cc.
Definition at line 309 of file ftmpl_list.cc.
| void List< T >::insert | ( | const T & | t, |
| int(*)(const T &, const T &) | cmpf, | ||
| void(*)(T &, const T &) | insf | ||
| ) |
Definition at line 267 of file ftmpl_list.cc.
Definition at line 273 of file ftmpl_list.cc.
Definition at line 140 of file ftmpl_list.cc.
Definition at line 366 of file ftmpl_list.cc.
Definition at line 339 of file ftmpl_list.cc.
|
friend |
Definition at line 76 of file ftmpl_list.h.
Definition at line 56 of file ftmpl_list.h.
Definition at line 54 of file ftmpl_list.h.