tListItem< T > Class Template Reference

#include <tLinkedList.h>

Inheritance diagram for tListItem< T >:

Inheritance graph
[legend]
Collaboration diagram for tListItem< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 tListItem ()
 tListItem (T *&a)
T * Next ()
template<typename comparator>
void Sort ()
void Insert (tListItem *&a)
void Insert (T *&a)
void Insert (tListItemBase *&a)


Detailed Description

template<class T>
class tListItem< T >

Definition at line 66 of file tLinkedList.h.


Constructor & Destructor Documentation

template<class T>
tListItem< T >::tListItem (  )  [inline]

Definition at line 68 of file tLinkedList.h.

00068                :tListItemBase()
00069     { 
00070         // this class only works under this condition:
00071         tASSERT( static_cast< tListItemBase * >( ( T * )(NULL)  ) == NULL );
00072     };

template<class T>
tListItem< T >::tListItem ( T *&  a  )  [inline]

Definition at line 73 of file tLinkedList.h.

00073 :tListItemBase(reinterpret_cast<tListItemBase*&>(a)){};


Member Function Documentation

template<class T>
T* tListItem< T >::Next (  )  [inline]

Reimplemented from tListItemBase.

Reimplemented in gServerInfo.

Definition at line 74 of file tLinkedList.h.

Referenced by gServerFavorites::AlternativesMenu(), tCommandLineData::Analyse(), nServerInfo::CalcScoreAll(), tDecoratableManagerBase::CalculateOffsets(), rDisplayList::ClearAll(), tDecoratableManagerBase::ConstructAll(), copyrec(), nServerInfo::DeleteUnreachable(), tDecoratableManagerBase::DestructAll(), nServerInfo::DoQueryAll(), tCallbackString::Exec(), tCallbackOr::Exec(), tCallbackAnd::Exec(), tCallback::Exec(), FilterLine(), tLanguage::FindSloppy(), nServerInfo::GetBigServerInfoCommon(), nServerInfo::GetFromMaster(), nMachine::GetNextDecorator(), GetQueryMessageStats(), nServerInfo::GetRandomMaster(), nServerInfo::GetSmallServerInfo(), getstring(), eVoter::GetVoter(), nServerInfo::GiveBigServerInfoMaster(), uActionGlobalFunc::GlobalAct(), gServerMenu::gServerMenu(), uActionGlobalFunc::IsBreakingGlobalBind(), tLocaleItem::Load(), nServerInfo::Load(), nServerInfo::NetReadThis(), tLocaleItem::operator const char *(), Poll(), nServerInfo::QueryServer(), gCycleWallsDisplayListManager::RenderAll(), nServerInfo::RunMaster(), s_InputConfigGeneric(), nServerInfo::Save(), sg_LanguageMenu(), nServerInfo::Sort(), nServerInfo::StartQueryAll(), nServerInfo::TellMasterAboutMe(), eWavData::UnloadAll(), and nServerInfo::~nServerInfo().

00074 {return reinterpret_cast<T*>(next);}

Here is the caller graph for this function:

template<class T>
template<typename comparator>
void tListItem< T >::Sort (  )  [inline]

Definition at line 77 of file tLinkedList.h.

Referenced by FilterLine().

00078     {
00079         tListItemBase::Sort( &st_Compare< T, comparator> );
00080     }

Here is the caller graph for this function:

template<class T>
void tListItem< T >::Insert ( tListItem< T > *&  a  )  [inline]

Definition at line 82 of file tLinkedList.h.

Referenced by eCamera::Act(), tDecoratableManagerBase::AddDecorator(), nServerInfo::GetMasters(), nServerInfo::GetRandomMaster(), gCycleWallsDisplayListManager::RenderAll(), and nServerInfo::Sort().

00083     {
00084         tListItemBase::Insert( reinterpret_cast<tListItemBase*&>(a) );
00085     }

Here is the caller graph for this function:

template<class T>
void tListItem< T >::Insert ( T *&  a  )  [inline]

Definition at line 87 of file tLinkedList.h.

00088     {
00089         tListItemBase::Insert( reinterpret_cast<tListItemBase*&>(a) );
00090     }

template<class T>
void tListItem< T >::Insert ( tListItemBase *&  a  )  [inline]

Reimplemented from tListItemBase.

Definition at line 92 of file tLinkedList.h.

00093     {
00094         tListItemBase::Insert( a );
00095     }


The documentation for this class was generated from the following file:
Generated on Sat Mar 15 23:57:20 2008 for Armagetron Advanced by  doxygen 1.5.4