|
|
|
LList< LListBase, T > Class Template ReferenceTemplate class for non-intrusive linked lists. More...
Inheritance diagram for LList< LListBase, T >:
![]()
Collaboration diagram for LList< LListBase, T >:
![]()
Detailed Descriptiontemplate<class LListBase, class T>
Template class for non-intrusive linked lists.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| typedef T value_type |
| typedef T& reference |
Type that can be used for storing into value_type.
objects.
Reimplemented in LPtrList< LListBase, T >, LPtrList< SLListBase, Reaction< ThermoType > >, LPtrList< SLListBase, T >, LPtrList< DLListBase, T >, LPtrList< SLListBase, gasReaction >, and LPtrList< DLListBase, phase >.
| typedef const T& const_reference |
Type that can be used for storing into constant.
LList::value_type objects.
Reimplemented in LPtrList< LListBase, T >, LPtrList< SLListBase, Reaction< ThermoType > >, LPtrList< SLListBase, T >, LPtrList< DLListBase, T >, LPtrList< SLListBase, gasReaction >, and LPtrList< DLListBase, phase >.
| typedef LListBase::iterator LListBase_iterator |
| typedef LListBase::const_iterator LListBase_const_iterator |
| ~LList | ( | ) | [inline] |
Definition at line 39 of file LList.C.
References LList< LListBase, T >::append().

| T& first | ( | ) | [inline] |
Return the first entry added.
Reimplemented in LPtrList< LListBase, T >, LPtrList< SLListBase, Reaction< ThermoType > >, LPtrList< SLListBase, T >, LPtrList< DLListBase, T >, LPtrList< SLListBase, gasReaction >, and LPtrList< DLListBase, phase >.
Definition at line 130 of file LList.H.
Referenced by LList< DLListBase, T * >::first(), LList< DLListBase, T * >::last(), and Foam::polyMeshZipUpCells().

| const T& first | ( | ) | const [inline] |
Return const access to the first entry added.
Reimplemented in LPtrList< LListBase, T >, LPtrList< SLListBase, Reaction< ThermoType > >, LPtrList< SLListBase, T >, LPtrList< DLListBase, T >, LPtrList< SLListBase, gasReaction >, and LPtrList< DLListBase, phase >.
| T& last | ( | ) | [inline] |
Return the last entry added.
Reimplemented in LPtrList< LListBase, T >, LPtrList< SLListBase, Reaction< ThermoType > >, LPtrList< SLListBase, T >, LPtrList< DLListBase, T >, LPtrList< SLListBase, gasReaction >, and LPtrList< DLListBase, phase >.
Definition at line 142 of file LList.H.
Referenced by LList< DLListBase, T * >::last(), and Foam::polyMeshZipUpCells().

| const T& last | ( | ) | const [inline] |
Return const access to the last entry added.
Reimplemented in LPtrList< LListBase, T >, LPtrList< SLListBase, Reaction< ThermoType > >, LPtrList< SLListBase, T >, LPtrList< DLListBase, T >, LPtrList< SLListBase, gasReaction >, and LPtrList< DLListBase, phase >.
| void insert | ( | const T & | a | ) | [inline] |
Add at head of list.
Definition at line 157 of file LList.H.
Referenced by LList< DLListBase, T * >::append(), and Foam::polyMeshZipUpCells().

| void append | ( | const T & | a | ) | [inline] |
Add at tail of list.
Definition at line 163 of file LList.H.
Referenced by Foam::polyMeshZipUpCells(), magGrad::preCalc(), mag::preCalc(), magSqr::preCalc(), components::preCalc(), randomise::preCalc(), div::preCalc(), interpolate::preCalc(), LList< DLListBase, T * >::removeHead(), and LList< LListBase, T >::~LList().

| T removeHead | ( | ) | [inline] |
Remove and return head.
Definition at line 169 of file LList.H.
Referenced by Foam::polyMeshZipUpCells().

| T remove | ( | iterator & | it | ) | [inline] |
| void clear | ( | ) | [inline] |
Delete contents of list.
Reimplemented in LPtrList< LListBase, T >, DictionaryBase< DLPtrList< phase >, phase >, DictionaryBase< DLList< T * >, T >, DictionaryBase< DLPtrList< T >, T >, LPtrList< SLListBase, Reaction< ThermoType > >, LPtrList< SLListBase, T >, LPtrList< DLListBase, T >, LPtrList< SLListBase, gasReaction >, and LPtrList< DLListBase, phase >.
Definition at line 48 of file LList.C.
Referenced by dictionary::transfer().

friend class iterator [friend] |
friend class const_iterator [friend] |
Referenced by Foam::operator>>().