Template class for intrusive linked lists. More...
Classes | |
class | const_iterator |
class | const_reverse_iterator |
class | iterator |
class | reverse_iterator |
Public Types | |
typedef T | value_type |
typedef T * | pointer |
typedef T & | reference |
typedef label | size_type |
typedef label | difference_type |
using | base_iterator = typename LListBase::iterator |
using | const_base_iterator = typename LListBase::const_iterator |
Public Member Functions | |
UILList ()=default | |
UILList (T *item) | |
UILList (const UILList< LListBase, T > &lst) | |
T * | first () |
const T * | first () const |
T * | last () |
const T * | last () const |
T * | removeHead () |
T * | remove (T *item) |
T * | remove (iterator &iter) |
void | operator= (const UILList< LListBase, T > &lst) |
bool | operator== (const UILList< LListBase, T > &lst) const |
bool | operator!= (const UILList< LListBase, T > &lst) const |
Ostream & | writeList (Ostream &os, const label shortLen=0) const |
iterator | begin () |
const_iterator | cbegin () const |
reverse_iterator | rbegin () |
const_reverse_iterator | crbegin () const |
const_iterator | begin () const |
const_reverse_iterator | rbegin () const |
const iterator & | end () |
const const_iterator & | cend () const |
const reverse_iterator & | rend () |
const const_reverse_iterator & | crend () const |
const const_iterator & | end () const |
const const_reverse_iterator & | rend () const |
Public Attributes | |
const typedef T * | const_pointer |
const typedef T & | const_reference |
Friends | |
Ostream & | operator (Ostream &os, const UILList< LListBase, T > &lst) |
Template class for intrusive linked lists.
typedef T value_type |
typedef label difference_type |
using base_iterator = typename LListBase::iterator |
using const_base_iterator = typename LListBase::const_iterator |
|
default |
Definition at line 27 of file UILList.C.
References append(), UILList::cbegin(), and UILList::cend().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 39 of file UILList.C.
References append(), UILList::cbegin(), UILList::cend(), and clear().
Definition at line 52 of file UILList.C.
References stdFoam::cbegin(), UILList::cbegin(), and stdFoam::cend().
Definition at line 77 of file UILList.C.
References Foam::operator==().
Foam::Ostream & writeList | ( | Ostream & | os, |
const label | shortLen = 0 |
||
) | const |
Definition at line 30 of file UILListIO.C.
References FUNCTION_NAME, Foam::nl, os(), and T.
|
inline |
Definition at line 379 of file UILList.H.
Referenced by UILList::operator=(), UILList::operator==(), and UILList::UILList().
|
inline |
|
inline |
Definition at line 391 of file UILList.H.
Referenced by UILList::rbegin().
|
inline |
Definition at line 397 of file UILList.H.
References stdFoam::cbegin().
|
inline |
Definition at line 403 of file UILList.H.
References UILList::crbegin().
|
inline |
Definition at line 416 of file UILList.H.
Referenced by UILList::end(), UILList::operator=(), and UILList::UILList().
|
inline |
|
inline |
Definition at line 428 of file UILList.H.
Referenced by UILList::rend().
|
inline |
Definition at line 434 of file UILList.H.
References UILList::cend().
|
inline |
Definition at line 440 of file UILList.H.
References UILList::crend().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.