Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

Common::List< t_T > Class Template Reference

#include <list.h>

Inherited by Lure::CharacterScheduleList, Lure::CharacterScheduleSet, Lure::HotspotActionList, Lure::HotspotActionSet, Lure::HotspotDataList, Lure::HotspotList, Lure::MovementDataList, Lure::PausedCharacterList, Lure::RandomActionList, Lure::RoomDataList, Lure::RoomExitCoordinatesList, Lure::RoomExitIndexedHotspotList, Lure::RoomExitJoinList, Lure::RoomExitList, Lure::SequenceDelayList, Lure::TalkDataList, Saga::ResourceContextList, Saga::TextList, and Sci::VertexList.

List of all members.

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.

Public Types

< t_T > 
typedef ListInternal::Iterator
< t_T > 
typedef t_T value_type

Public Member Functions

const t_T & back () const
t_T & back ()
const_iterator begin () const
iterator begin ()
void clear ()
bool empty () const
const_iterator end () const
iterator end ()
iterator erase (iterator first, iterator last)
iterator erase (iterator pos)
const t_T & front () const
t_T & front ()
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)
const_iterator reverse_begin () const
iterator reverse_begin ()
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

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

Generated by  Doxygen 1.6.0   Back to index