#include <linked_list.h>
Classes | |
struct | ctr |
Public Member Functions | |
void | add (T &newElem) |
void | addCopy (const T &newElem) |
void | CropList (int i) |
void | initialize () |
void | insertAt (T &newElem, int i) |
void | insertCopyAt (const T &newElem, int i) |
LinkedList_NoDealloc () | |
LinkedList_NoDealloc (const LinkedList_NoDealloc< T > &src) | |
LinkedList_NoDealloc< T > & | operator= (const LinkedList_NoDealloc< T > &src) |
void | remove (int i) |
T * | ReturnElement (int i) |
int | size () |
~LinkedList_NoDealloc () | |
Private Member Functions | |
void | addInPosition (T *elem, int i) |
void | addToTail (T *newElem) |
ctr * | alloc_elem (T *elem) |
void | CopyList (const LinkedList_NoDealloc< T > &src, LinkedList_NoDealloc< T > &dest) |
void | CreateNewLinkedList (T *firstElement) |
ctr * | get (int i) |
void | release_elem (ctr *elem) |
void | remove (ctr *node) |
Private Attributes | |
ctr * | HEAD |
int | NumElements |
ctr * | TAIL |
ctr * | temp |
Definition at line 285 of file linked_list.h.
marti_data_structures::LinkedList_NoDealloc< T >::LinkedList_NoDealloc | ( | ) | [inline] |
Definition at line 289 of file linked_list.h.
marti_data_structures::LinkedList_NoDealloc< T >::LinkedList_NoDealloc | ( | const LinkedList_NoDealloc< T > & | src | ) | [inline] |
Definition at line 295 of file linked_list.h.
marti_data_structures::LinkedList_NoDealloc< T >::~LinkedList_NoDealloc | ( | ) | [inline] |
Definition at line 300 of file linked_list.h.
void marti_data_structures::LinkedList_NoDealloc< T >::add | ( | T & | newElem | ) | [inline] |
Definition at line 334 of file linked_list.h.
void marti_data_structures::LinkedList_NoDealloc< T >::addCopy | ( | const T & | newElem | ) | [inline] |
Definition at line 346 of file linked_list.h.
void marti_data_structures::LinkedList_NoDealloc< T >::addInPosition | ( | T * | elem, |
int | i | ||
) | [inline, private] |
Definition at line 434 of file linked_list.h.
void marti_data_structures::LinkedList_NoDealloc< T >::addToTail | ( | T * | newElem | ) | [inline, private] |
Definition at line 424 of file linked_list.h.
ctr* marti_data_structures::LinkedList_NoDealloc< T >::alloc_elem | ( | T * | elem | ) | [inline, private] |
Definition at line 459 of file linked_list.h.
void marti_data_structures::LinkedList_NoDealloc< T >::CopyList | ( | const LinkedList_NoDealloc< T > & | src, |
LinkedList_NoDealloc< T > & | dest | ||
) | [inline, private] |
Definition at line 516 of file linked_list.h.
void marti_data_structures::LinkedList_NoDealloc< T >::CreateNewLinkedList | ( | T * | firstElement | ) | [inline, private] |
Definition at line 414 of file linked_list.h.
void marti_data_structures::LinkedList_NoDealloc< T >::CropList | ( | int | i | ) | [inline] |
Definition at line 393 of file linked_list.h.
ctr* marti_data_structures::LinkedList_NoDealloc< T >::get | ( | int | i | ) | [inline, private] |
Definition at line 471 of file linked_list.h.
void marti_data_structures::LinkedList_NoDealloc< T >::initialize | ( | ) | [inline] |
Definition at line 318 of file linked_list.h.
void marti_data_structures::LinkedList_NoDealloc< T >::insertAt | ( | T & | newElem, |
int | i | ||
) | [inline] |
Definition at line 356 of file linked_list.h.
void marti_data_structures::LinkedList_NoDealloc< T >::insertCopyAt | ( | const T & | newElem, |
int | i | ||
) | [inline] |
Definition at line 361 of file linked_list.h.
LinkedList_NoDealloc<T>& marti_data_structures::LinkedList_NoDealloc< T >::operator= | ( | const LinkedList_NoDealloc< T > & | src | ) | [inline] |
Definition at line 312 of file linked_list.h.
void marti_data_structures::LinkedList_NoDealloc< T >::release_elem | ( | ctr * | elem | ) | [inline, private] |
Definition at line 466 of file linked_list.h.
void marti_data_structures::LinkedList_NoDealloc< T >::remove | ( | int | i | ) | [inline] |
Definition at line 368 of file linked_list.h.
void marti_data_structures::LinkedList_NoDealloc< T >::remove | ( | ctr * | node | ) | [inline, private] |
Definition at line 485 of file linked_list.h.
T* marti_data_structures::LinkedList_NoDealloc< T >::ReturnElement | ( | int | i | ) | [inline] |
Definition at line 378 of file linked_list.h.
int marti_data_structures::LinkedList_NoDealloc< T >::size | ( | ) | [inline] |
Definition at line 329 of file linked_list.h.
ctr* marti_data_structures::LinkedList_NoDealloc< T >::HEAD [private] |
Definition at line 409 of file linked_list.h.
int marti_data_structures::LinkedList_NoDealloc< T >::NumElements [private] |
Definition at line 411 of file linked_list.h.
ctr* marti_data_structures::LinkedList_NoDealloc< T >::TAIL [private] |
Definition at line 410 of file linked_list.h.
ctr* marti_data_structures::LinkedList_NoDealloc< T >::temp [private] |
Definition at line 408 of file linked_list.h.