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

#include <TDList.h>

Inheritance diagram for TPriList< T >:
TGenericPriList

Public Types

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

Public Member Functions

 TPriList ()
 
Iterator GetNext (Iterator a_itNode)
 
Iterator GetPrev (Iterator a_itNode)
 
Iterator Begin ()
 
Iterator End ()
 
TBOOL IsLinked ()
 
- Public Member Functions inherited from TGenericPriList
TBOOL IsEmpty ()
 
TNodeHead ()
 
TNodeTail ()
 
TNodeBegin ()
 
TNodeEnd ()
 
void Insert (TNode *a_pNode, TINT iPriority)
 
void Insert (TNode *a_pNode)
 
void RemoveAll ()
 

Additional Inherited Members

- Protected Member Functions inherited from TGenericPriList
 TGenericPriList ()
 
 ~TGenericPriList ()
 

Detailed Description

template<class T>
class TPriList< T >

Definition at line 152 of file TDList.h.

Member Typedef Documentation

◆ Iterator

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

Definition at line 155 of file TDList.h.

Constructor & Destructor Documentation

◆ TPriList()

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

Definition at line 157 of file TDList.h.

157{}

Member Function Documentation

◆ Begin()

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

Definition at line 161 of file TDList.h.

161{ return TGenericPriList::Begin(); }
TNode * Begin()
Definition TDList.h:134

◆ End()

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

Definition at line 162 of file TDList.h.

162{ return TGenericPriList::End(); }
TNode * End()
Definition TDList.h:135

◆ GetNext()

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

Definition at line 159 of file TDList.h.

159{ return a_itNode.Next(); }

◆ GetPrev()

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

Definition at line 160 of file TDList.h.

160{ return a_itNode.Prev(); }

◆ IsLinked()

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

Definition at line 163 of file TDList.h.

163{ return !TGenericPriList::IsEmpty(); }
TBOOL IsEmpty()
Definition TDList.h:131

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