|
|
|
LPtrList< LListBase, T > Class Template ReferenceTemplate class for non-intrusive linked PtrLists. More...
Inheritance diagram for LPtrList< LListBase, T >:
![]()
Collaboration diagram for LPtrList< LListBase, T >:
![]()
Detailed Descriptiontemplate<class LListBase, class T>
Template class for non-intrusive linked PtrLists.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| typedef T& reference |
Type that can be used for storing into LPtrList::value_type.
objects.
Reimplemented from LList< LListBase, T * >.
Definition at line 171 of file LPtrList.H.
| typedef T& const_reference |
Type that can be used for storing into constant.
LPtrList::value_type objects.
Reimplemented from LList< LListBase, T * >.
Definition at line 177 of file LPtrList.H.
| typedef LListBase::iterator LListBase_iterator |
| typedef LListBase::const_iterator LListBase_const_iterator |
| LPtrList | ( | ) | [inline] |
| LPtrList | ( | T * | a | ) | [inline] |
Construct from Istream using given Istream constructor class.
Definition at line 137 of file LPtrListIO.C.
Construct from Istream using default Istream constructor class.
Definition at line 144 of file LPtrListIO.C.
| ~LPtrList | ( | ) | [inline] |
Definition at line 37 of file LPtrList.C.
References append().

| T& first | ( | ) | [inline] |
Return the first entry added.
Reimplemented from LList< LListBase, T * >.
Definition at line 120 of file LPtrList.H.
Referenced by LPtrList< DLListBase, phase >::first(), and LPtrList< DLListBase, phase >::last().

| const T& first | ( | ) | const [inline] |
Return const access to the first entry added.
Reimplemented from LList< LListBase, T * >.
Definition at line 126 of file LPtrList.H.
| T& last | ( | ) | [inline] |
Return the last entry added.
Reimplemented from LList< LListBase, T * >.
Definition at line 132 of file LPtrList.H.
Referenced by LPtrList< DLListBase, phase >::last().

| const T& last | ( | ) | const [inline] |
Return const access to the last entry added.
Reimplemented from LList< LListBase, T * >.
Definition at line 138 of file LPtrList.H.
| bool eraseHead | ( | ) | [inline] |
Remove the head element from the list and delete the pointer.
Definition at line 46 of file LPtrList.C.
References LPtrList< LListBase, T >::clear().
Referenced by LPtrList< LListBase, T >::transfer().


| void clear | ( | ) | [inline] |
Clear the contents of the list.
Reimplemented from LList< LListBase, T * >.
Reimplemented in DictionaryBase< DLPtrList< phase >, phase >, and DictionaryBase< DLPtrList< T >, T >.
Definition at line 62 of file LPtrList.C.
Referenced by LPtrList< LListBase, T >::eraseHead(), and LPtrList< LListBase, T >::operator=().

Transfer the contents of the argument into this List.
and annull the argument list.
Definition at line 75 of file LPtrList.C.
References LPtrList< LListBase, T >::eraseHead().
Referenced by LPtrList< LListBase, T >::operator=().


Assign copy.
Definition at line 85 of file LPtrList.C.
References LPtrList< LListBase, T >::clear(), and LPtrList< LListBase, T >::transfer().

friend class iterator [friend] |
friend class const_iterator [friend] |