30 template<
class LListBase,
class T>
33 ULPtrList<LListBase,
T>()
47 template<
class LListBase,
class T>
50 ULPtrList<LListBase,
T>()
58 template<
class LListBase,
class T>
67 template<
class LListBase,
class T>
71 if ((tPtr = this->removeHead()))
83 template<
class LListBase,
class T>
86 const label oldSize = this->size();
87 for (
label i=0; i<oldSize; ++i)
96 template<
class LListBase,
class T>
106 template<
class LListBase,
class T>
118 this->append(iter().
clone().ptr());
123 template<
class LListBase,
class T>
void append(const T * &a)
Add at tail of list.
void clear()
Delete contents of list.
void transfer(LList< LListBase, T > &)
Transfer the contents of the argument into this List.
Template class for non-intrusive linked PtrLists.
LPtrList()
Null construct.
void transfer(LPtrList< LListBase, T > &)
Transfer the contents of the argument into this List.
bool eraseHead()
Remove the head element from the list and delete the pointer.
void operator=(const LPtrList< LListBase, T > &)
Assignment operator.
void clear()
Clear the contents of the list.
An STL-conforming const_iterator.
friend class const_iterator
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)