51 template<
class LListBase,
class T>
54 template<
class LListBase,
class T>
66 template<
class LListBase,
class T>
124 return static_cast<T*
>(LListBase::last());
128 const T*
last()
const
130 return static_cast<const T*
>(LListBase::last());
139 return static_cast<T*
>(LListBase::removeHead());
145 return static_cast<T*
>(LListBase::remove(
p));
151 return static_cast<T*
>(LListBase::remove(it));
214 LListBase_iterator::operator++();
221 return LListBase::begin();
226 return static_cast<const iterator&
>(LListBase::end());
260 static_cast<const T&
>
271 LListBase_const_iterator::operator++();
278 return LListBase::cbegin();
288 return LListBase::begin();
302 public LListBase::const_reverse_iterator
310 typename LListBase::const_reverse_iterator baseIter
322 static_cast<const T&
>
333 LListBase::const_reverse_iterator::operator++();
340 return LListBase::crbegin();
352 return LListBase::rbegin();
375 friend Ostream& operator<< <LListBase, T>
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
An STL-conforming const_iterator.
const_iterator & operator++()
const_iterator(LListBase_const_iterator baseIter)
Construct from base const_iterator.
An STL-conforming const_reverse_iterator.
const_reverse_iterator(typename LListBase::const_reverse_iterator baseIter)
Construct from base const_reverse_iterator.
const_reverse_iterator & operator++()
An STL-conforming iterator.
iterator(LListBase_iterator baseIter)
Construct from base iterator.
Template class for intrusive linked lists.
label size_type
The type that can represent the size of a DLList.
const const_reverse_iterator & crend() const
void operator=(const UILList< LListBase, T > &)
Assignment operator.
bool operator==(const UILList< LListBase, T > &) const
Equality operation on ULists of the same type.
const const_reverse_iterator & rend() const
T value_type
Type of values the DLList contains.
const_iterator cbegin() const
LListBase::const_iterator LListBase_const_iterator
T * last()
Return the last entry.
T * first()
Return the first entry.
const_reverse_iterator crbegin() const
T & reference
Type that can be used for storing into DLList::value_type.
LListBase::iterator LListBase_iterator
const const_iterator & cend() const
T * remove(T *p)
Remove and return element.
T * removeHead()
Remove and return head.
bool operator!=(const UILList< LListBase, T > &) const
The opposite of the equality operation. Takes linear time.
const_reverse_iterator rbegin() const
const T & const_reference
Type that can be used for storing into constant.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
labelList first(const UList< labelPair > &p)
tmp< fvMatrix< Type > > operator*(const volScalarField::Internal &, const fvMatrix< Type > &)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)