TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ByteConverter.h File Reference
#include "Define.h"
#include <algorithm>
+ Include dependency graph for ByteConverter.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ByteConverter
 

Functions

template<size_t T>
void ByteConverter::convert (char *val)
 
template<>
void ByteConverter::convert< 0 > (char *)
 
template<>
void ByteConverter::convert< 1 > (char *)
 
template<typename T >
void ByteConverter::apply (T *val)
 
template<typename T >
void EndianConvert (T &val)
 
template<typename T >
void EndianConvertReverse (T &)
 
template<typename T >
void EndianConvertPtr (void *val)
 
template<typename T >
void EndianConvertPtrReverse (void *)
 
template<typename T >
void EndianConvert (T *)
 
template<typename T >
void EndianConvertReverse (T *)
 
void EndianConvert (uint8 &)
 
void EndianConvert (int8 &)
 
void EndianConvertReverse (uint8 &)
 
void EndianConvertReverse (int8 &)
 

Function Documentation

template<typename T >
void EndianConvert ( T &  val)
inline
48 { ByteConverter::apply<T>(&val); }

+ Here is the caller graph for this function:

template<typename T >
void EndianConvert ( T *  )
void EndianConvert ( uint8 )
inline
62 { }
void EndianConvert ( int8 )
inline
63 { }
template<typename T >
void EndianConvertPtr ( void *  val)
inline
50 { ByteConverter::apply<T>(val); }
template<typename T >
void EndianConvertPtrReverse ( void *  )
inline
51 { }
template<typename T >
void EndianConvertReverse ( T &  )
inline
49 { }

+ Here is the caller graph for this function:

template<typename T >
void EndianConvertReverse ( T *  )
void EndianConvertReverse ( uint8 )
inline
64 { }
void EndianConvertReverse ( int8 )
inline
65 { }