List< T > Class Template Reference

#include <sql_list.h>

Inheritance diagram for List< T >:

Inheritance graph
[legend]
Collaboration diagram for List< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 List ()
 List (const List< T > &tmp)
bool push_back (T *a)
bool push_back (T *a, MEM_ROOT *mem_root)
bool push_front (T *a)
T * head ()
T ** head_ref ()
T * pop ()
void concat (List< T > *list)
void disjoin (List< T > *list)
void prepand (List< T > *list)
void delete_elements (void)

template<class T>
class List< T >


Constructor & Destructor Documentation

template<class T>
List< T >::List  )  [inline]
 

00288 :base_list() {}

template<class T>
List< T >::List const List< T > &  tmp  )  [inline]
 

00289 :base_list(tmp) {}


Member Function Documentation

template<class T>
void List< T >::concat List< T > *  list  )  [inline]
 

00297 { base_list::concat(list); }

template<class T>
void List< T >::delete_elements void   )  [inline]
 

00301   {
00302     list_node *element,*next;
00303     for (element=first; element != &end_of_list; element=next)
00304     {
00305       next=element->next;
00306       delete (T*) element->info;
00307     }
00308     empty();
00309   }

template<class T>
void List< T >::disjoin List< T > *  list  )  [inline]
 

00298 { base_list::disjoin(list); }

template<class T>
T* List< T >::head  )  [inline]
 

Reimplemented from base_list.

00294 {return (T*) base_list::head(); }

template<class T>
T** List< T >::head_ref  )  [inline]
 

Reimplemented from base_list.

00295 {return (T**) base_list::head_ref(); }

template<class T>
T* List< T >::pop void   )  [inline]
 

Reimplemented from base_list.

00296 {return (T*) base_list::pop(); }

template<class T>
void List< T >::prepand List< T > *  list  )  [inline]
 

00299 { base_list::prepand(list); }

template<class T>
bool List< T >::push_back T *  a,
MEM_ROOT mem_root
[inline]
 

00292   { return base_list::push_back(a, mem_root); }

template<class T>
bool List< T >::push_back T *  a  )  [inline]
 

00290 { return base_list::push_back(a); }

template<class T>
bool List< T >::push_front T *  a  )  [inline]
 

00293 { return base_list::push_front(a); }


The documentation for this class was generated from the following file:
Generated on Thu Feb 24 12:08:00 2005 for MySQL by  doxygen 1.3.9.1