OpenBarnyard
 
Loading...
Searching...
No Matches
TDList< T > Class Template Reference

#include <TDList.h>

Inheritance diagram for TDList< T >:
TGenericDList

Public Types

using Iterator = Toshi::T2Iterator<T, TNode>
 

Public Member Functions

 TDList ()
 
Iterator GetNext (Iterator a_itNode)
 
Iterator GetPrev (Iterator a_itNode)
 
T * Head ()
 
T * Tail ()
 
Iterator Begin ()
 
Iterator End ()
 
TBOOL IsEmpty ()
 
TBOOL IsLinked ()
 
void RemoveHead ()
 
void RemoveTail ()
 
- Public Member Functions inherited from TGenericDList
void InsertSegmentAtHead (TNode *a_pNode1, TNode *a_pNode2)
 
void InsertSegmentAtTail (TNode *a_pNode1, TNode *a_pNode2)
 
void InsertHead (TNode *a_pNode)
 
void InsertTail (TNode *a_pNode)
 
void RemoveHead ()
 
void RemoveTail ()
 
TBOOL IsEmpty ()
 
TNodeHead ()
 
TNodeTail ()
 
TNodeBegin ()
 
TNodeEnd ()
 
void RemoveAll ()
 

Additional Inherited Members

- Static Public Member Functions inherited from TGenericDList
static void InsertSegmentAfter (TNode *a_pNode1, TNode *a_pNode2, TNode *a_pNode3)
 
static void InsertSegmentBefore (TNode *a_pNode1, TNode *a_pNode2, TNode *a_pNode3)
 
- Protected Member Functions inherited from TGenericDList
 TGenericDList ()
 
 ~TGenericDList ()
 

Detailed Description

template<class T>
class TDList< T >

Definition at line 167 of file TDList.h.

Member Typedef Documentation

◆ Iterator

template<class T>
using TDList< T >::Iterator = Toshi::T2Iterator<T, TNode>

Definition at line 170 of file TDList.h.

Constructor & Destructor Documentation

◆ TDList()

template<class T>
TDList< T >::TDList ( )
inline

Definition at line 172 of file TDList.h.

172{}

Member Function Documentation

◆ Begin()

template<class T>
Iterator TDList< T >::Begin ( )
inline

Definition at line 178 of file TDList.h.

178{ return TGenericDList::Begin()->As<T>(); }
TNode * Begin()
Definition TDList.h:65

◆ End()

template<class T>
Iterator TDList< T >::End ( )
inline

Definition at line 179 of file TDList.h.

179{ return TGenericDList::End()->As<T>(); }
TNode * End()
Definition TDList.h:66

◆ GetNext()

template<class T>
Iterator TDList< T >::GetNext ( Iterator a_itNode)
inline

Definition at line 174 of file TDList.h.

174{ return a_itNode.Next(); }

◆ GetPrev()

template<class T>
Iterator TDList< T >::GetPrev ( Iterator a_itNode)
inline

Definition at line 175 of file TDList.h.

175{ return a_itNode.Prev(); }

◆ Head()

template<class T>
T * TDList< T >::Head ( )
inline

Definition at line 176 of file TDList.h.

176{ return TGenericDList::Head()->As<T>(); }
TNode * Head()
Definition TDList.h:63

◆ IsEmpty()

template<class T>
TBOOL TDList< T >::IsEmpty ( )
inline

Definition at line 180 of file TDList.h.

180{ return TGenericDList::IsEmpty(); }
TBOOL IsEmpty()
Definition TDList.h:62

◆ IsLinked()

template<class T>
TBOOL TDList< T >::IsLinked ( )
inline

Definition at line 181 of file TDList.h.

181{ return m_oRoot.IsLinked(); }

◆ RemoveHead()

template<class T>
void TDList< T >::RemoveHead ( )
inline

Definition at line 182 of file TDList.h.

void RemoveHead()
Definition TDList.h:54

◆ RemoveTail()

template<class T>
void TDList< T >::RemoveTail ( )
inline

Definition at line 183 of file TDList.h.

void RemoveTail()
Definition TDList.h:58

◆ Tail()

template<class T>
T * TDList< T >::Tail ( )
inline

Definition at line 177 of file TDList.h.

177{ return TGenericDList::Tail()->As<T>(); }
TNode * Tail()
Definition TDList.h:64

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