|
|
|
LPtrList Class Template ReferenceInheritance diagram for LPtrList:![]() ![]() Detailed Descriptiontemplate<class LListBase, class T>
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Types | |
| typedef T & | reference |
| Type that can be used for storing into LPtrList::value_type. | |
| typedef T & | const_reference |
| Type that can be used for storing into constant. | |
| typedef LListBase::iterator | LListBase_iterator |
| typedef LListBase::const_iterator | LListBase_const_iterator |
Public Member Functions | |
| LPtrList () | |
| Null construct. | |
| LPtrList (T *a) | |
| Construct given initial T. | |
| template<class INew> | |
| LPtrList (Istream &, const INew &) | |
| Construct from Istream using given Istream constructor class. | |
| LPtrList (Istream &) | |
| Construct from Istream using default Istream constructor class. | |
| LPtrList (const LPtrList &) | |
| Construct as copy. | |
| ~LPtrList () | |
| T & | first () |
| Return the first entry added. | |
| const T & | first () const |
| Return const access to the first entry added. | |
| T & | last () |
| Return the last entry added. | |
| const T & | last () const |
| Return const access to the last entry added. | |
| bool | eraseHead () |
| Remove the head element specified from the list and delete it. | |
| void | clear () |
| Remove the specified element from the list and delete it. | |
| void | operator= (const LPtrList< LListBase, T > &) |
| Assign copy. | |
Friends | |
| class | iterator |
| class | const_iterator |
| Istream & | operator>> (Istream &, LPtrList< LListBase, T > &) |
| Ostream & | operator (Ostream &, const LPtrList< LListBase, T > &) |
Classes | |
| class | const_iterator |
| class | iterator |
| typedef T& reference |
Type that can be used for storing into LPtrList::value_type.
objects.
Reimplemented from LList< LListBase, T * >.
Definition at line 178 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 184 of file LPtrList.H.
| LPtrList | ( | ) | [inline] |
| LPtrList | ( | T * | a | ) | [inline] |
| ~LPtrList | ( | ) |
| T& first | ( | ) | [inline] |
Return the first entry added.
Reimplemented from LList< LListBase, T * >.
Definition at line 133 of file LPtrList.H.
| const T& first | ( | ) | const [inline] |
Return const access to the first entry added.
Reimplemented from LList< LListBase, T * >.
Definition at line 139 of file LPtrList.H.
| T& last | ( | ) | [inline] |
Return the last entry added.
Reimplemented from LList< LListBase, T * >.
Definition at line 145 of file LPtrList.H.
| const T& last | ( | ) | const [inline] |
Return const access to the last entry added.
Reimplemented from LList< LListBase, T * >.
Definition at line 151 of file LPtrList.H.
| bool eraseHead | ( | ) |
Remove the head element specified from the list and delete it.
| void clear | ( | ) |
Remove the specified element from the list and delete it.
Reimplemented from LList< LListBase, T * >.
Reimplemented in DictionaryBase< Foam::DLPtrList< T >, T >.
friend class iterator [friend] |
friend class const_iterator [friend] |