|
OpenMW
|
#include <list.hpp>
Public Member Functions | |
| List () | |
| void | reset () |
| void | insert (Elem *p) |
| void | remove (Elem *p) |
| Elem * | pop () |
| void | swap (List &other) |
| void | absorb (List &other) |
| void | absorb (Elem *first, Elem *last, int num) |
| Elem * | getHead () const |
| Elem * | getTail () const |
| unsigned int | getNum () const |
Private Attributes | |
| Elem * | head |
| Elem * | tail |
| unsigned int | totalNum |
| Misc::List< Elem >::List | ( | ) | [inline] |
| void Misc::List< Elem >::absorb | ( | List< Elem > & | other | ) | [inline] |
| void Misc::List< Elem >::absorb | ( | Elem * | first, |
| Elem * | last, | ||
| int | num | ||
| ) | [inline] |
| Elem* Misc::List< Elem >::getHead | ( | ) | const [inline] |
| unsigned int Misc::List< Elem >::getNum | ( | ) | const [inline] |
| Elem* Misc::List< Elem >::getTail | ( | ) | const [inline] |
| void Misc::List< Elem >::insert | ( | Elem * | p | ) | [inline] |
| Elem* Misc::List< Elem >::pop | ( | ) | [inline] |
| void Misc::List< Elem >::remove | ( | Elem * | p | ) | [inline] |
| void Misc::List< Elem >::reset | ( | ) | [inline] |
| void Misc::List< Elem >::swap | ( | List< Elem > & | other | ) | [inline] |
Elem* Misc::List< Elem >::head [private] |
Elem* Misc::List< Elem >::tail [private] |
unsigned int Misc::List< Elem >::totalNum [private] |
1.7.6.1