#include <List.h>
Public Member Functions | |
List () | |
List (const List &) | |
~List () | |
List & | operator= (const List &) |
List & | operator+= (const List &) |
List | operator+ (const List &) |
void | clear () |
void | append (ListElement &) |
void | prepend (ListElement &) |
void | insert (ListElement *at, ListElement &element) |
void | remove (ListElement *element) |
void | kill (ListElement *from, ListElement *to=(ListElement *) 0) |
void | cut (List &out, ListElement *from, ListElement *to=(ListElement *) 0) |
List * | copy (ListElement *from=(ListElement *) 0, ListElement *to=(ListElement *) 0) |
void | paste (ListElement *at, const List &l) |
void | paste_before (ListElement *at, const List &l) |
void | move (ListElement *at, List &l) |
void | move_before (ListElement *at, List &l) |
bool | empty () const |
const ListElement * | first () const |
const ListElement * | last () const |
const ListElement * | next (const ListElement *element) const |
const ListElement * | prev (const ListElement *element) const |
Puma::List::List | ( | ) | [inline] |
Puma::List::List | ( | const List & | ) |
Puma::List::~List | ( | ) |
void Puma::List::clear | ( | ) |
void Puma::List::append | ( | ListElement & | ) |
void Puma::List::prepend | ( | ListElement & | ) |
void Puma::List::insert | ( | ListElement * | at, | |
ListElement & | element | |||
) |
void Puma::List::remove | ( | ListElement * | element | ) |
void Puma::List::kill | ( | ListElement * | from, | |
ListElement * | to = (ListElement*)0 | |||
) | [inline] |
void Puma::List::cut | ( | List & | out, | |
ListElement * | from, | |||
ListElement * | to = (ListElement *) 0 | |||
) |
List* Puma::List::copy | ( | ListElement * | from = (ListElement *) 0 , |
|
ListElement * | to = (ListElement *) 0 | |||
) |
void Puma::List::paste | ( | ListElement * | at, | |
const List & | l | |||
) |
void Puma::List::paste_before | ( | ListElement * | at, | |
const List & | l | |||
) |
void Puma::List::move | ( | ListElement * | at, | |
List & | l | |||
) |
void Puma::List::move_before | ( | ListElement * | at, | |
List & | l | |||
) |
bool Puma::List::empty | ( | ) | const [inline] |
const ListElement* Puma::List::first | ( | ) | const [inline] |
const ListElement* Puma::List::last | ( | ) | const [inline] |
const ListElement* Puma::List::next | ( | const ListElement * | element | ) | const [inline] |
const ListElement* Puma::List::prev | ( | const ListElement * | element | ) | const [inline] |