OwnedList_t< T > Class Template Reference

Template list class which, when deleted, deletes all the items in the list as well.

#include <UTLists.h>

Inheritance diagram for OwnedList_t< T >:
List_t< T > Array_t< T * >

List of all members.

Public Member Functions

 OwnedList_t ()
 OwnedList_t (T **stack_buffer, int stack_buffer_num_items_allcoated)
 ~OwnedList_t ()

Detailed Description

template<class T>
class OwnedList_t< T >

Definition at line 176 of file UTLists.h.

Constructor & Destructor Documentation

template<class T >
OwnedList_t< T >::OwnedList_t (  )  [inline]

Constructor for an empty list.

Definition at line 1623 of file UTLists.h.

template<class T>
OwnedList_t< T >::OwnedList_t ( T **  stack_buffer,
int  stack_buffer_num_items_allcoated 
) [inline]

Constructor for a list which initially uses a stack-allocated buffer of the specified size. If the required size grows beyond that size, the buffer will be reallocated from the heap.

Definition at line 1629 of file UTLists.h.

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

Destructor. All items in the list will be deleted.

Definition at line 1635 of file UTLists.h.

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

Generated on Tue Dec 14 22:35:07 2010 for UT library by  doxygen 1.6.1