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

#include <arraylist.h>

Public Member Functions

 ArrayList ()
 
 ArrayList (ArrayList< T > &other)
 
 ~ArrayList ()
 
void clear (void)
 
bit8 add (IN T &node, sint32 pos)
 
bit8 addTail (IN T &node)
 
bit8 addHead (IN T &node)
 
bit8 addSortedAsc (IN T &node)
 
bit8 addSortedDes (IN T &node)
 
bit8 remove (OUT T &node, sint32 pos)
 
bit8 remove (sint32 pos)
 
bit8 removeHead (OUT T &node)
 
bit8 removeTail (OUT T &node)
 
bit8 replace (IN T &node, sint32 pos)
 
bit8 get (OUT T &node, sint32 pos) RO
 
bit8 getHead (OUT T &node) RO
 
bit8 getTail (OUT T &node) RO
 
bit8 getPointer (OUT T **node, sint32 pos) RO
 
sint32 length (void) RO
 
bit8 setSize (sint32 newsize, IN T &filler)
 
void print (FILE *out)
 
ArrayList< T > & operator= (IN ArrayList< T > &other)
 
 ArrayList ()
 
 ArrayList (ArrayList< T > &other)
 
 ~ArrayList ()
 
void clear (void)
 
bit8 add (IN T &node, sint32 pos)
 
bit8 addTail (IN T &node)
 
bit8 addHead (IN T &node)
 
bit8 addSortedAsc (IN T &node)
 
bit8 addSortedDes (IN T &node)
 
bit8 remove (OUT T &node, sint32 pos)
 
bit8 remove (sint32 pos)
 
bit8 removeHead (OUT T &node)
 
bit8 removeTail (OUT T &node)
 
bit8 replace (IN T &node, sint32 pos)
 
bit8 get (OUT T &node, sint32 pos) RO
 
bit8 getHead (OUT T &node) RO
 
bit8 getTail (OUT T &node) RO
 
bit8 getPointer (OUT T **node, sint32 pos) RO
 
sint32 length (void) RO
 
bit8 setSize (sint32 newsize, IN T &filler)
 
void print (FILE *out)
 
ArrayList< T > & operator= (IN ArrayList< T > &other)
 

Detailed Description

template<class T>
class ArrayList< T >

Definition at line 63 of file arraylist.h.

Constructor & Destructor Documentation

◆ ArrayList() [1/4]

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

Definition at line 131 of file arraylist.h.

◆ ArrayList() [2/4]

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

Definition at line 140 of file arraylist.h.

◆ ~ArrayList() [1/2]

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

Definition at line 150 of file arraylist.h.

◆ ArrayList() [3/4]

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

◆ ArrayList() [4/4]

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

◆ ~ArrayList() [2/2]

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

Member Function Documentation

◆ add() [1/2]

template<class T>
bit8 ArrayList< T >::add ( IN T & node,
sint32 pos )

Definition at line 228 of file arraylist.h.

◆ add() [2/2]

template<class T>
bit8 ArrayList< T >::add ( IN T & node,
sint32 pos )

◆ addHead() [1/2]

template<class T>
bit8 ArrayList< T >::addHead ( IN T & node)

Definition at line 255 of file arraylist.h.

◆ addHead() [2/2]

template<class T>
bit8 ArrayList< T >::addHead ( IN T & node)

◆ addSortedAsc() [1/2]

template<class T>
bit8 ArrayList< T >::addSortedAsc ( IN T & node)

Definition at line 272 of file arraylist.h.

◆ addSortedAsc() [2/2]

template<class T>
bit8 ArrayList< T >::addSortedAsc ( IN T & node)

◆ addSortedDes() [1/2]

template<class T>
bit8 ArrayList< T >::addSortedDes ( IN T & node)

Definition at line 282 of file arraylist.h.

◆ addSortedDes() [2/2]

template<class T>
bit8 ArrayList< T >::addSortedDes ( IN T & node)

◆ addTail() [1/2]

template<class T>
bit8 ArrayList< T >::addTail ( IN T & node)

Definition at line 263 of file arraylist.h.

◆ addTail() [2/2]

template<class T>
bit8 ArrayList< T >::addTail ( IN T & node)

◆ clear() [1/2]

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

Definition at line 178 of file arraylist.h.

◆ clear() [2/2]

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

◆ get() [1/2]

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

Definition at line 593 of file arraylist.h.

◆ get() [2/2]

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

◆ getHead() [1/2]

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

Definition at line 604 of file arraylist.h.

◆ getHead() [2/2]

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

◆ getPointer() [1/2]

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

Definition at line 582 of file arraylist.h.

◆ getPointer() [2/2]

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

◆ getTail() [1/2]

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

Definition at line 612 of file arraylist.h.

◆ getTail() [2/2]

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

◆ length() [1/2]

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

Definition at line 631 of file arraylist.h.

◆ length() [2/2]

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

◆ operator=() [1/2]

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

Definition at line 163 of file arraylist.h.

◆ operator=() [2/2]

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

◆ print() [1/2]

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

Definition at line 619 of file arraylist.h.

◆ print() [2/2]

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

◆ remove() [1/4]

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

Definition at line 553 of file arraylist.h.

◆ remove() [2/4]

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

◆ remove() [3/4]

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

Definition at line 526 of file arraylist.h.

◆ remove() [4/4]

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

◆ removeHead() [1/2]

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

Definition at line 565 of file arraylist.h.

◆ removeHead() [2/2]

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

◆ removeTail() [1/2]

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

Definition at line 573 of file arraylist.h.

◆ removeTail() [2/2]

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

◆ replace() [1/2]

template<class T>
bit8 ArrayList< T >::replace ( IN T & node,
sint32 pos )

Definition at line 503 of file arraylist.h.

◆ replace() [2/2]

template<class T>
bit8 ArrayList< T >::replace ( IN T & node,
sint32 pos )

◆ setSize() [1/2]

template<class T>
bit8 ArrayList< T >::setSize ( sint32 newsize,
IN T & filler )

Definition at line 198 of file arraylist.h.

◆ setSize() [2/2]

template<class T>
bit8 ArrayList< T >::setSize ( sint32 newsize,
IN T & filler )

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