T_Object_list< T > Class Template Reference

#include <objlist.h>

Collaboration diagram for T_Object_list< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 T_Object_list (T f=0)
 ~T_Object_list ()
void report_problem () const
int is_empty () const
void add_iterator ()
void remove_iterator ()
get_first () const
void insert (T nobj)
void insert_before (T nobj, T before)
void append (T nobj)
void remove (T dobj)

Private Attributes

first
unsigned short iter_count

Friends

class T_Object_iterator< T >
class T_Flat_object_iterator< T, class L >
class T_Object_iterator_backwards< T, class L >

Detailed Description

template<class T>
class T_Object_list< T >

Definition at line 36 of file objlist.h.


Constructor & Destructor Documentation

template<class T>
T_Object_list< T >::T_Object_list ( f = 0  )  [inline]

Definition at line 45 of file objlist.h.

template<class T>
T_Object_list< T >::~T_Object_list (  )  [inline]

Definition at line 48 of file objlist.h.

References T_Object_list< T >::first, and Exult_server::obj.


Member Function Documentation

template<class T>
void T_Object_list< T >::report_problem (  )  const [inline]

Definition at line 63 of file objlist.h.

Referenced by T_Object_list< T >::insert(), T_Object_list< T >::insert_before(), and T_Object_list< T >::remove().

template<class T>
int T_Object_list< T >::is_empty (  )  const [inline]

Definition at line 68 of file objlist.h.

References T_Object_list< T >::first.

Referenced by Container_game_object::delete_contents(), Container_game_object::extract_contents(), Jawbone_object::find_teeth(), Container_game_object::get_ireg_size(), and Gump::paint().

template<class T>
void T_Object_list< T >::add_iterator (  )  [inline]

Definition at line 70 of file objlist.h.

References T_Object_list< T >::iter_count.

template<class T>
void T_Object_list< T >::remove_iterator (  )  [inline]

Definition at line 72 of file objlist.h.

References T_Object_list< T >::iter_count.

template<class T>
T T_Object_list< T >::get_first (  )  const [inline]

Definition at line 74 of file objlist.h.

References T_Object_list< T >::first.

Referenced by Container_game_object::delete_contents(), Container_game_object::extract_contents(), and Actor::resurrect().

template<class T>
void T_Object_list< T >::insert ( nobj  )  [inline]

Definition at line 77 of file objlist.h.

References T_Object_list< T >::first, T_Object_list< T >::iter_count, and T_Object_list< T >::report_problem().

Referenced by T_Object_list< T >::append().

Here is the call graph for this function:

template<class T>
void T_Object_list< T >::insert_before ( nobj,
before 
) [inline]

Definition at line 93 of file objlist.h.

References T_Object_list< T >::first, T_Object_list< T >::iter_count, and T_Object_list< T >::report_problem().

Here is the call graph for this function:

template<class T>
void T_Object_list< T >::append ( nobj  )  [inline]

Definition at line 104 of file objlist.h.

References T_Object_list< T >::first, and T_Object_list< T >::insert().

Here is the call graph for this function:

template<class T>
void T_Object_list< T >::remove ( dobj  )  [inline]

Definition at line 106 of file objlist.h.

References T_Object_list< T >::first, T_Object_list< T >::iter_count, and T_Object_list< T >::report_problem().

Here is the call graph for this function:


Friends And Related Function Documentation

template<class T>
friend class T_Object_iterator< T > [friend]

Definition at line 38 of file objlist.h.

template<class T>
friend class T_Flat_object_iterator< T, class L > [friend]

Definition at line 39 of file objlist.h.

template<class T>
friend class T_Object_iterator_backwards< T, class L > [friend]

Definition at line 40 of file objlist.h.


Member Data Documentation

template<class T>
T T_Object_list< T >::first [private]

Definition at line 42 of file objlist.h.

Referenced by T_Object_list< T >::append(), T_Object_list< T >::get_first(), T_Object_list< T >::insert(), T_Object_list< T >::insert_before(), T_Object_list< T >::is_empty(), T_Object_list< T >::remove(), and T_Object_list< T >::~T_Object_list().

template<class T>
unsigned short T_Object_list< T >::iter_count [private]

Definition at line 43 of file objlist.h.

Referenced by T_Object_list< T >::add_iterator(), T_Object_list< T >::insert(), T_Object_list< T >::insert_before(), T_Object_list< T >::remove(), and T_Object_list< T >::remove_iterator().


The documentation for this class was generated from the following file:
Generated on Mon Jul 9 15:04:05 2007 for ExultEngine by  doxygen 1.5.1