Logo Search packages:      
Sourcecode: scummvm version File versions

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, and Lure::TalkDataList.

List of all members.

Detailed Description

template<class 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

typedef Iterator< const t_T > const_iterator
typedef Iterator< t_T > iterator
typedef t_T value_type

Public Member Functions

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)
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_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 Attributes

NodeBase _anchor


class  Iterator
struct  Node
struct  NodeBase

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

Generated by  Doxygen 1.6.0   Back to index