Go to the documentation of this file.
48 template<
class LListBase,
class T>
class LPtrList;
50 template<
class LListBase,
class T>
57 template<
class LListBase,
class T>
69 template<
class LListBase,
class T>
72 public LList<LListBase, T*>
142 const T&
last()
const
252 friend Istream&
operator>> <LListBase,
T>
258 friend Ostream& operator<< <LListBase, T>
const T & first() const
Return const access to the first entry added.
const T & last() const
Return const access to the last entry added.
const_iterator(LListBase_iterator baseIter)
Construct from base iterator.
T & last()
Return the last entry added.
friend class const_iterator
An STL-conforming const_iterator.
LPtrList(T *a)
Construct given initial T.
T & reference
Type that can be used for storing into LPtrList::value_type.
T & const_reference
Type that can be used for storing into constant.
Template class for non-intrusive linked PtrLists.
Template class for non-intrusive linked lists.
A helper class when constructing from an Istream or dictionary.
T & first()
Return the first entry added.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
An STL-conforming iterator.
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 read(Istream &, const INew &)
Read from Istream using given Istream constructor class.
LListBase::iterator LListBase_iterator
LPtrList()
Null construct.
iterator(LListBase_iterator baseIter)
Construct from base iterator.
T & first()
Return the first entry added.
void operator=(const LPtrList< LListBase, T > &)
Assign copy.
T & last()
Return the last entry added.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
LListBase::const_iterator LListBase_const_iterator
void clear()
Clear the contents of the list.
const_iterator(LListBase_const_iterator baseIter)
Construct from base const_iterator.