UT/UT_Algorithm.h File Reference

#include <SYS/SYS_Types.h>

Go to the source code of this file.

Classes

class  UT_CycleDetect< T >

Defines

#define UT_SWAPPER_SIMPLE(T)   inline void UTswap(T &a, T &b) { T tmp = a; a = b; b = tmp; }
#define UT_SWAPPER_CLASS(T)   inline void UTswap(T &a, T &b) { a.swap(b); }
#define UT_SWAPPER_TEMPLATE(T)

Functions

template<typename T >
void UTswap (T *&a, T *&b)
 UT_SWAPPER_SIMPLE (bool)
 UT_SWAPPER_SIMPLE (unsigned char)
 UT_SWAPPER_SIMPLE (char)
 UT_SWAPPER_SIMPLE (uint16)
 UT_SWAPPER_SIMPLE (int16)
 UT_SWAPPER_SIMPLE (uint32)
 UT_SWAPPER_SIMPLE (int32)
 UT_SWAPPER_SIMPLE (uint64)
 UT_SWAPPER_SIMPLE (int64)
 UT_SWAPPER_SIMPLE (fpreal32)
 UT_SWAPPER_SIMPLE (fpreal64)


Define Documentation

#define UT_SWAPPER_CLASS (  )     inline void UTswap(T &a, T &b) { a.swap(b); }

Definition at line 28 of file UT_Algorithm.h.

#define UT_SWAPPER_SIMPLE (  )     inline void UTswap(T &a, T &b) { T tmp = a; a = b; b = tmp; }

Definition at line 26 of file UT_Algorithm.h.

#define UT_SWAPPER_TEMPLATE (  ) 

Value:

template< typename TA > \
        inline void UTswap(T<TA> &a, T<TA> &b) { a.swap(b); }

Definition at line 30 of file UT_Algorithm.h.


Function Documentation

UT_SWAPPER_SIMPLE ( fpreal64   ) 

UT_SWAPPER_SIMPLE ( fpreal32   ) 

UT_SWAPPER_SIMPLE ( int64   ) 

UT_SWAPPER_SIMPLE ( uint64   ) 

UT_SWAPPER_SIMPLE ( int32   ) 

UT_SWAPPER_SIMPLE ( uint32   ) 

UT_SWAPPER_SIMPLE ( int16   ) 

UT_SWAPPER_SIMPLE ( uint16   ) 

UT_SWAPPER_SIMPLE ( char   ) 

UT_SWAPPER_SIMPLE ( unsigned  char  ) 

UT_SWAPPER_SIMPLE ( bool   ) 

template<typename T >
void UTswap ( T *&  a,
T *&  b 
) [inline]

Definition at line 36 of file UT_Algorithm.h.


Generated on Mon Jan 28 00:47:34 2013 for HDK by  doxygen 1.5.9