|
L4Re - L4 Runtime Environment
|
Doubly linked list, with internal allocation. More...
Collaboration diagram for cxx::List< D, Alloc >:Data Structures | |
| class | Iter |
| Iterator. More... | |
Public Member Functions | |
| void | push_back (D const &d) throw () |
| Add element at the end of the list. More... | |
| void | push_front (D const &d) throw () |
| Add element at the beginning of the list. More... | |
| void | remove (Iter const &i) throw () |
| Remove element pointed to by the iterator. More... | |
| unsigned long | size () const throw () |
| Get the length of the list. More... | |
| D const & | operator[] (unsigned long idx) const throw () |
| Random access. More... | |
| D & | operator[] (unsigned long idx) throw () |
| Random access. More... | |
| Iter | items () throw () |
| Get iterator for the list elements. More... | |
Doubly linked list, with internal allocation.
Container for items of type D, implemented by a doubly linked list. Alloc defines the allocator policy.
|
inline | ||||||||||||||
|
inline | ||||||||||||||
|
inline | ||||||||||||||
|
inline | ||||||||||||||
|
inline | |||||||||||||