|
Givaro 4.2.1
|
ListO. More...
#include <givlist0.h>
Data Structures | |
| class | Iterator |
| struct | node |
Public Member Functions | |
| List0 () | |
| List0 (const List0< T > &p) | |
| ~List0 () | |
| void | destroy () |
| List0< T > & | copy (const List0< T > &p) |
| List0< T > & | logcopy (const List0< T > &p) |
| List0< T > & | operator= (const List0< T > &p) |
| int | is_empty () const |
| size_t | size () const |
| void | insertlast (const T &) |
| void | insertfirst (const T &) |
| int | getlast (T &item) const |
| int | getfirst (T &item) const |
| int | getrmvlast (T &item) |
| int | getrmvfirst (T &item) |
Protected Attributes | |
| size_t | _size |
| node * | _head |
| node * | _queue |
Friends | |
| class | Iterator |
ListO.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void insertlast | ( | const T & | val | ) |
| void insertfirst | ( | const T & | val | ) |
| int getlast | ( | T & | item | ) | const |
| int getfirst | ( | T & | item | ) | const |
| int getrmvlast | ( | T & | item | ) |
| int getrmvfirst | ( | T & | item | ) |
|
friend |
|
protected |
|
protected |
|
protected |