Static Public Member Functions

zeus::THash< T > Class Template Reference

#include <Hash.hpp>

List of all members.

Static Public Member Functions

static Int64 getHash64 (const T *pBuffer, Int iSize, Int64 ldMax=TInt::MaxInt64)
static Int32 getHash32 (const T *pBuffer, Int iSize, Int32 lMax=TInt::MaxInt32)

Detailed Description

template<class T>
class zeus::THash< T >

This class implements some basic functions for hashing data


Member Function Documentation

template<class T >
static Int32 zeus::THash< T >::getHash32 ( const T *  pBuffer,
Int  iSize,
Int32  lMax = TInt::MaxInt32 
) [inline, static]

gets the hash of a char* buffer array of size iSize and returns the hash as a 32bit value

Parameters:
pBuffer: Buffer to hash
iSize: Size of the buffer
lMax: max size of the hash table
template<class T >
static Int64 zeus::THash< T >::getHash64 ( const T *  pBuffer,
Int  iSize,
Int64  ldMax = TInt::MaxInt64 
) [inline, static]

gets the hash of a char* buffer array of size iSize and returns the hash as a 64bit value

Parameters:
pBuffer: Buffer to hash
iSize: Size of the buffer
ldMax: max size of the hash table

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:28:34