Non-intrusive doubly-linked list. More...
Public Member Functions | |
DLList () | |
Null construct. More... | |
DLList (T a) | |
Construct given initial T. More... | |
DLList (Istream &is) | |
Construct from Istream. More... | |
![]() | |
LList () | |
Null construct. More... | |
LList (T a) | |
Construct given initial T. More... | |
LList (Istream &) | |
Construct from Istream. More... | |
LList (const LList< LListBase, T > &) | |
Construct as copy. More... | |
~LList () | |
Destructor. More... | |
T & | first () |
Return the first entry added. More... | |
const T & | first () const |
Return const access to the first entry added. More... | |
T & | last () |
Return the last entry added. More... | |
const T & | last () const |
Return const access to the last entry added. More... | |
void | insert (const T &a) |
Add at head of list. More... | |
void | append (const T &a) |
Add at tail of list. More... | |
T | removeHead () |
Remove and return head. More... | |
T | remove (link *l) |
Remove and return element. More... | |
T | remove (iterator &it) |
Remove and return element specified by iterator. More... | |
void | clear () |
Delete contents of list. More... | |
void | transfer (LList< LListBase, T > &) |
Transfer the contents of the argument into this List. More... | |
void | operator= (const LList< LListBase, T > &) |
iterator | begin () |
const_iterator | begin () const |
const iterator & | end () |
const const_iterator & | end () const |
const_iterator | cbegin () const |
const const_iterator & | cend () const |
Additional Inherited Members | |
![]() | |
typedef T | value_type |
Type of values the LList contains. More... | |
typedef T & | reference |
Type that can be used for storing into value_type. More... | |
typedef label | size_type |
The type that can represent the size of a LList. More... | |
typedef LListBase::iterator | LListBase_iterator |
typedef LListBase::const_iterator | LListBase_const_iterator |
![]() | |
const typedef T & | const_reference |
Type that can be used for storing into constant. More... | |
Non-intrusive doubly-linked list.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.