Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
LinkedList< T > Class Template Reference

#include <linkedlist.h>

Public Member Functions

 LinkedList ()
 
 LinkedList (LinkedList< T > &other)
 
 ~LinkedList ()
 
void clear (void)
 
bit8 add (IN T &node, sint32 pos, OUT T **newnodeptr=NULL)
 
bit8 addTail (IN T &node, OUT T **newnodeptr=NULL)
 
bit8 addHead (IN T &node, OUT T **newnodeptr=NULL)
 
bit8 remove (OUT T &node, sint32 pos)
 
bit8 remove (sint32 pos)
 
bit8 removeHead (OUT T &node)
 
bit8 removeTail (OUT T &node)
 
bit8 get (OUT T &node, sint32 pos)
 
bit8 getHead (OUT T &node)
 
bit8 getTail (OUT T &node)
 
bit8 getPointer (OUT T **node, sint32 pos)
 
sint32 length (void)
 
void print (IN FILE *out)
 
LinkedList< T > & operator= (LinkedList< T > &other)
 
 LinkedList ()
 
 LinkedList (LinkedList< T > &other)
 
 ~LinkedList ()
 
void clear (void)
 
bit8 add (IN T &node, sint32 pos, OUT T **newnodeptr=NULL)
 
bit8 addTail (IN T &node, OUT T **newnodeptr=NULL)
 
bit8 addHead (IN T &node, OUT T **newnodeptr=NULL)
 
bit8 remove (OUT T &node, sint32 pos)
 
bit8 remove (sint32 pos)
 
bit8 removeHead (OUT T &node)
 
bit8 removeTail (OUT T &node)
 
bit8 get (OUT T &node, sint32 pos)
 
bit8 getHead (OUT T &node)
 
bit8 getTail (OUT T &node)
 
bit8 getPointer (OUT T **node, sint32 pos)
 
sint32 length (void)
 
void print (IN FILE *out)
 
LinkedList< T > & operator= (LinkedList< T > &other)
 

Detailed Description

template<class T>
class LinkedList< T >

Definition at line 56 of file linkedlist.h.

Constructor & Destructor Documentation

◆ LinkedList() [1/4]

template<class T>
LinkedList< T >::LinkedList ( )

Definition at line 107 of file linkedlist.h.

◆ LinkedList() [2/4]

template<class T>
LinkedList< T >::LinkedList ( LinkedList< T > & other)

Definition at line 116 of file linkedlist.h.

◆ ~LinkedList() [1/2]

template<class T>
LinkedList< T >::~LinkedList ( )

Definition at line 126 of file linkedlist.h.

◆ LinkedList() [3/4]

template<class T>
LinkedList< T >::LinkedList ( )

◆ LinkedList() [4/4]

template<class T>
LinkedList< T >::LinkedList ( LinkedList< T > & other)

◆ ~LinkedList() [2/2]

template<class T>
LinkedList< T >::~LinkedList ( )

Member Function Documentation

◆ add() [1/2]

template<class T>
bit8 LinkedList< T >::add ( IN T & node,
sint32 pos,
OUT T ** newnodeptr = NULL )

Definition at line 166 of file linkedlist.h.

◆ add() [2/2]

template<class T>
bit8 LinkedList< T >::add ( IN T & node,
sint32 pos,
OUT T ** newnodeptr = NULL )

◆ addHead() [1/2]

template<class T>
bit8 LinkedList< T >::addHead ( IN T & node,
OUT T ** newnodeptr = NULL )

Definition at line 248 of file linkedlist.h.

◆ addHead() [2/2]

template<class T>
bit8 LinkedList< T >::addHead ( IN T & node,
OUT T ** newnodeptr = NULL )

◆ addTail() [1/2]

template<class T>
bit8 LinkedList< T >::addTail ( IN T & node,
OUT T ** newnodeptr = NULL )

Definition at line 256 of file linkedlist.h.

◆ addTail() [2/2]

template<class T>
bit8 LinkedList< T >::addTail ( IN T & node,
OUT T ** newnodeptr = NULL )

◆ clear() [1/2]

template<class T>
void LinkedList< T >::clear ( void )

Definition at line 148 of file linkedlist.h.

◆ clear() [2/2]

template<class T>
void LinkedList< T >::clear ( void )

◆ get() [1/2]

template<class T>
bit8 LinkedList< T >::get ( OUT T & node,
sint32 pos )

Definition at line 386 of file linkedlist.h.

◆ get() [2/2]

template<class T>
bit8 LinkedList< T >::get ( OUT T & node,
sint32 pos )

◆ getHead() [1/2]

template<class T>
bit8 LinkedList< T >::getHead ( OUT T & node)

Definition at line 457 of file linkedlist.h.

◆ getHead() [2/2]

template<class T>
bit8 LinkedList< T >::getHead ( OUT T & node)

◆ getPointer() [1/2]

template<class T>
bit8 LinkedList< T >::getPointer ( OUT T ** node,
sint32 pos )

Definition at line 398 of file linkedlist.h.

◆ getPointer() [2/2]

template<class T>
bit8 LinkedList< T >::getPointer ( OUT T ** node,
sint32 pos )

◆ getTail() [1/2]

template<class T>
bit8 LinkedList< T >::getTail ( OUT T & node)

Definition at line 465 of file linkedlist.h.

◆ getTail() [2/2]

template<class T>
bit8 LinkedList< T >::getTail ( OUT T & node)

◆ length() [1/2]

template<class T>
sint32 LinkedList< T >::length ( void )

Definition at line 491 of file linkedlist.h.

◆ length() [2/2]

template<class T>
sint32 LinkedList< T >::length ( void )

◆ operator=() [1/2]

template<class T>
LinkedList< T > & LinkedList< T >::operator= ( LinkedList< T > & other)

Definition at line 133 of file linkedlist.h.

◆ operator=() [2/2]

template<class T>
LinkedList< T > & LinkedList< T >::operator= ( LinkedList< T > & other)

◆ print() [1/2]

template<class T>
void LinkedList< T >::print ( IN FILE * out)

Definition at line 472 of file linkedlist.h.

◆ print() [2/2]

template<class T>
void LinkedList< T >::print ( IN FILE * out)

◆ remove() [1/4]

template<class T>
bit8 LinkedList< T >::remove ( OUT T & node,
sint32 pos )

Definition at line 265 of file linkedlist.h.

◆ remove() [2/4]

template<class T>
bit8 LinkedList< T >::remove ( OUT T & node,
sint32 pos )

◆ remove() [3/4]

template<class T>
bit8 LinkedList< T >::remove ( sint32 pos)

Definition at line 361 of file linkedlist.h.

◆ remove() [4/4]

template<class T>
bit8 LinkedList< T >::remove ( sint32 pos)

◆ removeHead() [1/2]

template<class T>
bit8 LinkedList< T >::removeHead ( OUT T & node)

Definition at line 370 of file linkedlist.h.

◆ removeHead() [2/2]

template<class T>
bit8 LinkedList< T >::removeHead ( OUT T & node)

◆ removeTail() [1/2]

template<class T>
bit8 LinkedList< T >::removeTail ( OUT T & node)

Definition at line 378 of file linkedlist.h.

◆ removeTail() [2/2]

template<class T>
bit8 LinkedList< T >::removeTail ( OUT T & node)

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