Logo Search packages:      
Sourcecode: scummvm version File versions

Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes

Common::List< t_T > Class Template Reference

#include <list.h>

Collaboration diagram for Common::List< t_T >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
ListInternal::ConstIterator
< t_T > 
const_iterator
typedef ListInternal::Iterator
< t_T > 
iterator
typedef t_T value_type

Public Member Functions

t_T & back ()
const t_T & back () const
iterator begin ()
const_iterator begin () const
void clear ()
bool empty () const
iterator end ()
const_iterator end () const
iterator erase (iterator pos)
iterator erase (iterator first, iterator last)
t_T & front ()
const t_T & front () const
template<typename iterator2 >
void insert (iterator pos, iterator2 first, iterator2 last)
void insert (iterator pos, const t_T &element)
 List (const List< t_T > &list)
List< t_T > & operator= (const List< t_T > &list)
void pop_back ()
void pop_front ()
void push_back (const t_T &element)
void push_front (const t_T &element)
void remove (const t_T &val)
iterator reverse_begin ()
const_iterator reverse_begin () const
iterator reverse_erase (iterator pos)
uint size () const

Protected Types

typedef ListInternal::Node< t_T > Node
typedef ListInternal::NodeBase NodeBase

Protected Member Functions

NodeBase erase (NodeBase *pos)
void insert (NodeBase *pos, const t_T &element)

Protected Attributes

NodeBase _anchor

Detailed Description

template<typename t_T>
class Common::List< t_T >

Simple double linked list, modeled after the list template of the standard C++ library.

Definition at line 37 of file list.h.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index