L4Re Operating System Framework
Interface and Usage Documentation
|
Simple single-linked list. More...
#include <slist>
Public Member Functions | |
void | add (T *e) |
Add an element to the front of the list. | |
void | push_front (T *e) |
Add an element to the front of the list. | |
T * | pop_front () |
Remove and return the head element of the list. | |
Public Member Functions inherited from cxx::Bits::Basic_list< POLICY > | |
bool | empty () const |
Check if the list is empty. | |
Value_type | front () const |
Return the first element in the list. | |
void | clear () |
Remove all elements from the list. | |
Iterator | begin () |
Return an iterator to the beginning of the list. | |
Const_iterator | begin () const |
Return a const iterator to the beginning of the list. | |
Const_iterator | end () const |
Return a const iterator to the end of the list. | |
Iterator | end () |
Return an iterator to the end of the list. | |
Additional Inherited Members | |
Static Public Member Functions inherited from cxx::Bits::Basic_list< POLICY > | |
static Const_iterator | iter (Const_value_type c) |
Return a const iterator that begins at the given element. | |
Protected Attributes inherited from cxx::Bits::Basic_list< POLICY > | |
POLICY::Head_type | _f |
Pointer to front of the list. | |
Simple single-linked list.
T | Type of elements saved in the list. Must inherit from cxx::S_list_item |
|
inline |
Remove and return the head element of the list.
Definition at line 100 of file slist.
References cxx::Bits::Basic_list< POLICY >::_f, and cxx::Bits::Basic_list< POLICY >::front().