![]() |
|
Public Types | |
typedef T | value_type |
Type of values the LList contains. | |
typedef T & | reference |
Type that can be used for storing into value_type. | |
typedef const T & | const_reference |
Type that can be used for storing into constant. | |
typedef label | size_type |
The type that can represent the size of a LList. | |
typedef LListBase::iterator | LListBase_iterator |
typedef LListBase::const_iterator | LListBase_const_iterator |
Public Member Functions | |
LList () | |
Null construct. | |
LList (T a) | |
Construct given initial T. | |
LList (Istream &) | |
Construct from Istream. | |
LList (const LList< LListBase, T > &) | |
Construct as copy. | |
~LList () | |
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. | |
void | insert (const T &a) |
Add at head of list. | |
void | append (const T &a) |
Add at tail of list. | |
T | removeHead () |
Return and remove head. | |
void | clear () |
Delete contents of list. | |
void | operator= (const LList< LListBase, T > &) |
Friends | |
class | iterator |
class | const_iterator |
Istream & | operator>> (Istream &, LList< LListBase, T > &) |
Ostream & | operator (Ostream &, const LList< LListBase, T > &) |
|
Type that can be used for storing into constant. LList::value_type objects. Reimplemented in LPtrList, LPtrList< DLListBase, T >, LPtrList< SLListBase, T >, and LPtrList< SLListBase, reaction >. |
|
Reimplemented in LPtrList, LPtrList< DLListBase, T >, LPtrList< SLListBase, T >, and LPtrList< SLListBase, reaction >. |
|
Reimplemented in LPtrList, LPtrList< DLListBase, T >, LPtrList< SLListBase, T >, and LPtrList< SLListBase, reaction >. |
|
Type that can be used for storing into value_type. objects. Reimplemented in LPtrList, LPtrList< DLListBase, T >, LPtrList< SLListBase, T >, and LPtrList< SLListBase, reaction >. |
|
The type that can represent the size of a LList.
|
|
Type of values the LList contains.
|
|
Null construct.
|
|
Construct given initial T.
|
|
Construct from Istream.
|
|
Construct as copy.
|
|
|
|
Add at tail of list.
|
|
Delete contents of list.
Reimplemented in LPtrList, DictionaryBase< DLList< T * >, T >, DictionaryBase< DLPtrList< T >, T >, LPtrList< DLListBase, T >, LPtrList< SLListBase, T >, and LPtrList< SLListBase, reaction >. |
|
Return const access to the first entry added.
Reimplemented in LPtrList, LPtrList< DLListBase, T >, LPtrList< SLListBase, T >, and LPtrList< SLListBase, reaction >. |
|
Return the first entry added.
Reimplemented in LPtrList, LPtrList< DLListBase, T >, LPtrList< SLListBase, T >, and LPtrList< SLListBase, reaction >. |
|
Add at head of list.
|
|
Return const access to the last entry added.
Reimplemented in LPtrList, LPtrList< DLListBase, T >, LPtrList< SLListBase, T >, and LPtrList< SLListBase, reaction >. |
|
Return the last entry added.
Reimplemented in LPtrList, LPtrList< DLListBase, T >, LPtrList< SLListBase, T >, and LPtrList< SLListBase, reaction >. |
|
|
|
Return and remove head.
|
|
Reimplemented in LPtrList, LPtrList< DLListBase, T >, LPtrList< SLListBase, T >, and LPtrList< SLListBase, reaction >. |
|
Reimplemented in LPtrList, LPtrList< DLListBase, T >, LPtrList< SLListBase, T >, and LPtrList< SLListBase, reaction >. |
|
|
|
|