src/tools/tLinkedList.h File Reference

#include "tError.h"
#include <stdlib.h>

Include dependency graph for tLinkedList.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tListItemBase
class  tListItem< T >

Functions

template<typename T, typename comparator>
int st_Compare (const tListItemBase *a, const tListItemBase *b)


Function Documentation

template<typename T, typename comparator>
int st_Compare ( const tListItemBase a,
const tListItemBase b 
) [inline]

Definition at line 57 of file tLinkedList.h.

00058 {
00059     const T* A = static_cast<const T*>( a );
00060     const T* B = static_cast<const T*>( b );
00061 
00062     return comparator::Compare( A, B );
00063 }


Generated on Sat Mar 15 23:11:54 2008 for Armagetron Advanced by  doxygen 1.5.4