Public Member Functions | Private Attributes
megatree::List< T > Class Template Reference

#include <list.h>

List of all members.

Public Member Functions

T & back ()
ListIterator< T > backIterator ()
bool empty ()
void erase (ListNode< T > *node)
T & front ()
ListIterator< T > frontIterator ()
ListNode< T > * getBackPointer ()
ListNode< T > * getFrontPointer ()
 List ()
void moveToBack (ListNode< T > *node)
void moveToFront (ListNode< T > *node)
void pop_back ()
void pop_front ()
void push_back (const T &object)
void push_front (const T &object)
void spliceToBack (List &splice_list)
 ~List ()

Private Attributes

ListNode< T > * list_back
ListNode< T > * list_front

Detailed Description

template<typename T>
class megatree::List< T >

Definition at line 28 of file list.h.


Constructor & Destructor Documentation

template<typename T>
megatree::List< T >::List ( ) [inline]

Definition at line 31 of file list.h.

template<typename T>
megatree::List< T >::~List ( ) [inline]

Definition at line 36 of file list.h.


Member Function Documentation

template<typename T>
T& megatree::List< T >::back ( ) [inline]

Definition at line 132 of file list.h.

template<typename T>
ListIterator<T> megatree::List< T >::backIterator ( ) [inline]

Definition at line 52 of file list.h.

template<typename T>
bool megatree::List< T >::empty ( ) [inline]

Definition at line 264 of file list.h.

template<typename T>
void megatree::List< T >::erase ( ListNode< T > *  node) [inline]

Definition at line 162 of file list.h.

template<typename T>
T& megatree::List< T >::front ( ) [inline]

Definition at line 104 of file list.h.

template<typename T>
ListIterator<T> megatree::List< T >::frontIterator ( ) [inline]

Definition at line 47 of file list.h.

template<typename T>
ListNode<T>* megatree::List< T >::getBackPointer ( ) [inline]

Definition at line 63 of file list.h.

template<typename T>
ListNode<T>* megatree::List< T >::getFrontPointer ( ) [inline]

Definition at line 58 of file list.h.

template<typename T>
void megatree::List< T >::moveToBack ( ListNode< T > *  node) [inline]

Definition at line 215 of file list.h.

template<typename T>
void megatree::List< T >::moveToFront ( ListNode< T > *  node) [inline]

Definition at line 190 of file list.h.

template<typename T>
void megatree::List< T >::pop_back ( ) [inline]

Definition at line 141 of file list.h.

template<typename T>
void megatree::List< T >::pop_front ( ) [inline]

Definition at line 112 of file list.h.

template<typename T>
void megatree::List< T >::push_back ( const T &  object) [inline]

Definition at line 86 of file list.h.

template<typename T>
void megatree::List< T >::push_front ( const T &  object) [inline]

Definition at line 68 of file list.h.

template<typename T>
void megatree::List< T >::spliceToBack ( List< T > &  splice_list) [inline]

Definition at line 244 of file list.h.


Member Data Documentation

template<typename T>
ListNode<T>* megatree::List< T >::list_back [private]

Definition at line 272 of file list.h.

template<typename T>
ListNode<T>* megatree::List< T >::list_front [private]

Definition at line 271 of file list.h.


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


megatree_core
Author(s): Stuart Glaser
autogenerated on Thu Nov 28 2013 11:30:23