Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
marti_data_structures::LinkedList_NoDealloc< T > Class Template Reference

#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)
 
ctralloc_elem (T *elem)
 
void CopyList (const LinkedList_NoDealloc< T > &src, LinkedList_NoDealloc< T > &dest)
 
void CreateNewLinkedList (T *firstElement)
 
ctrget (int i)
 
void release_elem (ctr *elem)
 
void remove (ctr *node)
 

Private Attributes

ctrHEAD
 
int NumElements
 
ctrTAIL
 
ctrtemp
 

Detailed Description

template<class T>
class marti_data_structures::LinkedList_NoDealloc< T >

Definition at line 285 of file linked_list.h.

Constructor & Destructor Documentation

Definition at line 289 of file linked_list.h.

template<class T>
marti_data_structures::LinkedList_NoDealloc< T >::LinkedList_NoDealloc ( const LinkedList_NoDealloc< T > &  src)
inline

Definition at line 295 of file linked_list.h.

Definition at line 300 of file linked_list.h.

Member Function Documentation

template<class T>
void marti_data_structures::LinkedList_NoDealloc< T >::add ( T &  newElem)
inline

Definition at line 334 of file linked_list.h.

template<class T>
void marti_data_structures::LinkedList_NoDealloc< T >::addCopy ( const T &  newElem)
inline

Definition at line 346 of file linked_list.h.

template<class T>
void marti_data_structures::LinkedList_NoDealloc< T >::addInPosition ( T *  elem,
int  i 
)
inlineprivate

Definition at line 434 of file linked_list.h.

template<class T>
void marti_data_structures::LinkedList_NoDealloc< T >::addToTail ( T *  newElem)
inlineprivate

Definition at line 424 of file linked_list.h.

template<class T>
ctr* marti_data_structures::LinkedList_NoDealloc< T >::alloc_elem ( T *  elem)
inlineprivate

Definition at line 459 of file linked_list.h.

template<class T>
void marti_data_structures::LinkedList_NoDealloc< T >::CopyList ( const LinkedList_NoDealloc< T > &  src,
LinkedList_NoDealloc< T > &  dest 
)
inlineprivate

Definition at line 516 of file linked_list.h.

template<class T>
void marti_data_structures::LinkedList_NoDealloc< T >::CreateNewLinkedList ( T *  firstElement)
inlineprivate

Definition at line 414 of file linked_list.h.

template<class T>
void marti_data_structures::LinkedList_NoDealloc< T >::CropList ( int  i)
inline

Definition at line 393 of file linked_list.h.

template<class T>
ctr* marti_data_structures::LinkedList_NoDealloc< T >::get ( int  i)
inlineprivate

Definition at line 471 of file linked_list.h.

template<class T>
void marti_data_structures::LinkedList_NoDealloc< T >::initialize ( )
inline

Definition at line 318 of file linked_list.h.

template<class T>
void marti_data_structures::LinkedList_NoDealloc< T >::insertAt ( T &  newElem,
int  i 
)
inline

Definition at line 356 of file linked_list.h.

template<class T>
void marti_data_structures::LinkedList_NoDealloc< T >::insertCopyAt ( const T &  newElem,
int  i 
)
inline

Definition at line 361 of file linked_list.h.

template<class T>
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.

template<class T>
void marti_data_structures::LinkedList_NoDealloc< T >::release_elem ( ctr elem)
inlineprivate

Definition at line 466 of file linked_list.h.

template<class T>
void marti_data_structures::LinkedList_NoDealloc< T >::remove ( int  i)
inline

Definition at line 368 of file linked_list.h.

template<class T>
void marti_data_structures::LinkedList_NoDealloc< T >::remove ( ctr node)
inlineprivate

Definition at line 485 of file linked_list.h.

template<class T>
T* marti_data_structures::LinkedList_NoDealloc< T >::ReturnElement ( int  i)
inline

Definition at line 378 of file linked_list.h.

template<class T>
int marti_data_structures::LinkedList_NoDealloc< T >::size ( )
inline

Definition at line 329 of file linked_list.h.

Member Data Documentation

template<class T>
ctr* marti_data_structures::LinkedList_NoDealloc< T >::HEAD
private

Definition at line 409 of file linked_list.h.

template<class T>
int marti_data_structures::LinkedList_NoDealloc< T >::NumElements
private

Definition at line 411 of file linked_list.h.

template<class T>
ctr* marti_data_structures::LinkedList_NoDealloc< T >::TAIL
private

Definition at line 410 of file linked_list.h.

template<class T>
ctr* marti_data_structures::LinkedList_NoDealloc< T >::temp
private

Definition at line 408 of file linked_list.h.


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


marti_data_structures
Author(s): Kris Kozak
autogenerated on Tue Apr 6 2021 02:50:27