#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 () | |
LinkedList (const LinkedList< T > &src) | |
LinkedList< T > & | operator= (const LinkedList< T > &src) |
void | remove (int i) |
T * | ReturnElement (int i) |
int | size () |
~LinkedList () | |
Private Member Functions | |
void | addInPosition (T *elem, int i) |
void | addToTail (T *newElem) |
ctr * | alloc_elem (T *elem) |
void | CopyList (const LinkedList< T > &src, LinkedList< 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 40 of file linked_list.h.
|
inline |
Definition at line 44 of file linked_list.h.
|
inline |
Definition at line 50 of file linked_list.h.
|
inline |
Definition at line 56 of file linked_list.h.
|
inline |
Definition at line 90 of file linked_list.h.
|
inline |
Definition at line 102 of file linked_list.h.
|
inlineprivate |
Definition at line 190 of file linked_list.h.
|
inlineprivate |
Definition at line 180 of file linked_list.h.
|
inlineprivate |
Definition at line 215 of file linked_list.h.
|
inlineprivate |
Definition at line 273 of file linked_list.h.
|
inlineprivate |
Definition at line 170 of file linked_list.h.
|
inline |
Definition at line 149 of file linked_list.h.
|
inlineprivate |
Definition at line 228 of file linked_list.h.
|
inline |
Definition at line 74 of file linked_list.h.
|
inline |
Definition at line 112 of file linked_list.h.
|
inline |
Definition at line 117 of file linked_list.h.
|
inline |
Definition at line 68 of file linked_list.h.
|
inlineprivate |
Definition at line 222 of file linked_list.h.
|
inline |
Definition at line 124 of file linked_list.h.
|
inlineprivate |
Definition at line 242 of file linked_list.h.
|
inline |
Definition at line 134 of file linked_list.h.
|
inline |
Definition at line 85 of file linked_list.h.
|
private |
Definition at line 165 of file linked_list.h.
|
private |
Definition at line 167 of file linked_list.h.
|
private |
Definition at line 166 of file linked_list.h.
|
private |
Definition at line 164 of file linked_list.h.