DSIBinaryHasher Class Reference

Class that implements IHasher. This class takes a randomized seed value. More...

Inherits Simba::Support::IHasher.

Inherited by DSIBinaryHasherWithRightTrimmer.

List of all members.

Public Member Functions

 DSIBinaryHasher ()
 Constructor.
virtual simba_uint64 Hash (const simba_byte *in_buffer, simba_uint32 in_length)
 Get the hash code for the given data.
virtual void Seed (simba_uint32 in_seed)
 Set the seed for hashing.
virtual ~DSIBinaryHasher ()
 Destructor.

Protected Attributes

simba_uint32 m_seed

Detailed Description

Class that implements IHasher. This class takes a randomized seed value.

The data is hashed using the MurmurHash3 algorithm.


Constructor & Destructor Documentation

DSIBinaryHasher (  ) 

Constructor.

virtual ~DSIBinaryHasher (  )  [virtual]

Destructor.


Member Function Documentation

virtual simba_uint64 Hash ( const simba_byte *  in_buffer,
simba_uint32  in_length 
) [virtual]

Get the hash code for the given data.

Parameters:
in_buffer The data buffer. (NOT OWN)
in_length The length of data buffer.
Returns:
A hash code for the given data.

Reimplemented in DSIBinaryHasherWithRightTrimmer.

virtual void Seed ( simba_uint32  in_seed  )  [virtual]

Set the seed for hashing.

Parameters:
in_seed the seed used for hashing.

Member Data Documentation

simba_uint32 m_seed [protected]

The documentation for this class was generated from the following file:

Generated on Wed May 17 14:21:15 2017 for SimbaEngine 10.1.3.1011 by simba