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

#include <SLIST.H>

Public Member Functions

 SList (void)
 
virtual ~SList (void)
 
SLNode< T > * Head (void) const
 
SLNode< T > * Tail (void) const
 
SLNode< T > * Find_Node (T *data) const
 
virtual bool Add_Head (T *data)
 
virtual bool Add_Head (SList< T > &list)
 
virtual bool Add_Tail (T *data)
 
virtual bool Add_Tail (SList< T > &list)
 
virtual T * Remove_Head (void)
 
virtual T * Remove_Tail (void)
 
virtual bool Remove (T *element)
 
virtual void Remove_All (void)
 
virtual bool Insert_Before (T *newnode, T *oldnode=NULL)
 
virtual bool Insert_After (T *newnode, T *oldnode=NULL)
 
virtual bool Is_Empty (void) const
 
virtual long Get_Count (void) const
 

Detailed Description

template<class T>
class SList< T >

Definition at line 67 of file SLIST.H.

Constructor & Destructor Documentation

◆ SList()

template<class T>
SList< T >::SList ( void )
inline

Definition at line 78 of file SLIST.H.

◆ ~SList()

template<class T>
virtual SList< T >::~SList ( void )
inlinevirtual

Definition at line 84 of file SLIST.H.

Member Function Documentation

◆ Add_Head() [1/2]

template<class T>
bool SList< T >::Add_Head ( SList< T > & list)
virtual

Definition at line 451 of file SLIST.H.

◆ Add_Head() [2/2]

template<class T>
bool SList< T >::Add_Head ( T * data)
virtual

Definition at line 425 of file SLIST.H.

◆ Add_Tail() [1/2]

template<class T>
bool SList< T >::Add_Tail ( SList< T > & list)
virtual

Definition at line 513 of file SLIST.H.

◆ Add_Tail() [2/2]

template<class T>
bool SList< T >::Add_Tail ( T * data)
virtual

Definition at line 485 of file SLIST.H.

◆ Find_Node()

template<class T>
SLNode< T > * SList< T >::Find_Node ( T * data) const
inline

Definition at line 536 of file SLIST.H.

◆ Get_Count()

template<class T>
long SList< T >::Get_Count ( void ) const
inlinevirtual

Definition at line 348 of file SLIST.H.

◆ Head()

template<class T>
SLNode< T > * SList< T >::Head ( void ) const
inline

Definition at line 370 of file SLIST.H.

◆ Insert_After()

template<class T>
bool SList< T >::Insert_After ( T * newnode,
T * oldnode = NULL )
virtual

Definition at line 182 of file SLIST.H.

◆ Insert_Before()

template<class T>
bool SList< T >::Insert_Before ( T * newnode,
T * oldnode = NULL )
virtual

Definition at line 135 of file SLIST.H.

◆ Is_Empty()

template<class T>
bool SList< T >::Is_Empty ( void ) const
inlinevirtual

Definition at line 406 of file SLIST.H.

◆ Remove()

template<class T>
bool SList< T >::Remove ( T * element)
virtual

Definition at line 244 of file SLIST.H.

◆ Remove_All()

template<class T>
void SList< T >::Remove_All ( void )
virtual

Definition at line 221 of file SLIST.H.

◆ Remove_Head()

template<class T>
T * SList< T >::Remove_Head ( void )
virtual

Definition at line 287 of file SLIST.H.

◆ Remove_Tail()

template<class T>
T * SList< T >::Remove_Tail ( void )
virtual

Definition at line 325 of file SLIST.H.

◆ Tail()

template<class T>
SLNode< T > * SList< T >::Tail ( void ) const
inline

Definition at line 388 of file SLIST.H.


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