Go to the documentation of this file.
32 template<
class LListBase,
class T>
35 LList<LListBase,
T*>()
37 for (
auto iter = lst.cbegin(); iter != lst.cend(); ++iter)
39 this->
append((*iter).clone().ptr());
44 template<
class LListBase,
class T>
47 LList<LListBase,
T*>()
55 template<
class LListBase,
class T>
64 template<
class LListBase,
class T>
67 T*
p = this->removeHead();
79 template<
class LListBase,
class T>
82 const label len = this->size();
83 for (label i=0; i<len; ++i)
92 template<
class LListBase,
class T>
102 template<
class LListBase,
class T>
107 for (
auto iter = lst.
cbegin(); iter != lst.
cend(); ++iter)
109 this->
append((*iter).clone().ptr());
114 template<
class LListBase,
class T>
const_iterator cbegin() const
Iterator to first item in list with const access.
rAUs append(new volScalarField(IOobject::groupName("rAU", phase1.name()), 1.0/(U1Eqn.A()+byDt(max(phase1.residualAlpha() - alpha1, scalar(0)) *rho1))))
void clear()
Delete contents of list.
Template class for non-intrusive linked PtrLists.
Template class for non-intrusive linked lists.
void transfer(LPtrList< LListBase, T > &lst)
void operator=(const LPtrList< LListBase, T > &lst)
Copy assign by using 'clone()' for each element.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
bool eraseHead()
Remove the head element from the list and delete the pointer.
const const_iterator & cend() const
End of list for forward iterators.
LPtrList()=default
Null construct.
void transfer(LList< LListBase, T > &lst)
Transfer the contents of the argument into this List.
void clear()
Clear the contents of the list.