![]() |
|
Public Member Functions | |
DLListBase () | |
Null construct. | |
DLListBase (link *) | |
Construct given initial entry. | |
~DLListBase () | |
label | size () const |
Return number of elements in list. | |
link * | first () |
Return first entry. | |
const link * | first () const |
Return const access to first entry. | |
link * | last () |
Return last entry. | |
const link * | last () const |
Return const access to last entry. | |
void | insert (link *) |
Add at head of list. | |
void | append (link *) |
Add at tail of list. | |
bool | swapUp (link *) |
Swap this element with the one above unless it is at the top. | |
bool | swapDown (link *) |
Swap this element with the one below unless it is at the bottom. | |
link * | removeHead () |
Remove and return head. | |
link * | remove (link *) |
Remove and return element. | |
void | clear () |
Clear the list. | |
iterator | begin () |
const iterator & | end () |
const_iterator | begin () const |
const const_iterator & | end () const |
Static Public Attributes | |
iterator | endIter |
iterator returned by end() | |
const_iterator | endConstIter |
const_iterator returned by end() | |
Friends | |
class | iterator |
class | const_iterator |
|
Null construct.
Definition at line 64 of file DLListBaseI.H. References DLListBase::link::next_, and DLListBase::link::prev_. |
|
Construct given initial entry.
Definition at line 73 of file DLListBaseI.H. |
|
Definition at line 86 of file DLListBaseI.H. |
|
Add at tail of list.
|
|
Definition at line 309 of file DLListBaseI.H. |
|
Definition at line 217 of file DLListBaseI.H. |
|
|
Definition at line 322 of file DLListBaseI.H. |
|
Reimplemented in JobInfo. Definition at line 230 of file DLListBaseI.H. |
|
Return const access to first entry.
Reimplemented in LList< DLListBase, T >, LList< DLListBase, T * >, LPtrList< DLListBase, T >, UILList< DLListBase, passiveParticle >, UILList< DLListBase, indexedParticle >, UILList< DLListBase, T >, UILList< DLListBase, particleType >, UILList< DLListBase, parcel >, and UILList< DLListBase, entry >. Definition at line 113 of file DLListBaseI.H. |
|
Return first entry.
Reimplemented in LList< DLListBase, T >, LList< DLListBase, T * >, LPtrList< DLListBase, T >, UILList< DLListBase, passiveParticle >, UILList< DLListBase, indexedParticle >, UILList< DLListBase, T >, UILList< DLListBase, particleType >, UILList< DLListBase, parcel >, and UILList< DLListBase, entry >. Definition at line 100 of file DLListBaseI.H. Referenced by DLListBase::const_iterator::operator++(), and DLListBase::iterator::operator++(). |
|
Add at head of list.
|
|
Return const access to last entry.
Reimplemented in LList< DLListBase, T >, LList< DLListBase, T * >, LPtrList< DLListBase, T >, UILList< DLListBase, passiveParticle >, UILList< DLListBase, indexedParticle >, UILList< DLListBase, T >, UILList< DLListBase, particleType >, UILList< DLListBase, parcel >, and UILList< DLListBase, entry >. Definition at line 139 of file DLListBaseI.H. |
|
Return last entry.
Reimplemented in LList< DLListBase, T >, LList< DLListBase, T * >, LPtrList< DLListBase, T >, UILList< DLListBase, passiveParticle >, UILList< DLListBase, indexedParticle >, UILList< DLListBase, T >, UILList< DLListBase, particleType >, UILList< DLListBase, parcel >, and UILList< DLListBase, entry >. Definition at line 126 of file DLListBaseI.H. |
|
Remove and return element.
|
|
Remove and return head.
Reimplemented in LList< DLListBase, T >, LList< DLListBase, T * >, UILList< DLListBase, passiveParticle >, UILList< DLListBase, indexedParticle >, UILList< DLListBase, T >, UILList< DLListBase, particleType >, UILList< DLListBase, parcel >, and UILList< DLListBase, entry >. |
|
Return number of elements in list.
Definition at line 93 of file DLListBaseI.H. References Foam::abort(), Foam::FatalError, and FatalErrorIn. Referenced by DLListBase::const_iterator::operator++(), and DLListBase::iterator::operator++(). |
Here is the call graph for this function:
|
Swap this element with the one below unless it is at the bottom.
|
|
Swap this element with the one above unless it is at the top.
|
|
|
|
const_iterator returned by end()
Definition at line 241 of file DLListBase.H. |
|
iterator returned by end()
Definition at line 200 of file DLListBase.H. |