IHasher Class Reference

Class that provides a hash function over the given value. More...

Inherited by DSIBinaryHasher, and DSIUnicodeHasher.

List of all members.

Public Member Functions

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

Protected Member Functions

 IHasher ()
 Constructor.

Detailed Description

Class that provides a hash function over the given value.


Constructor & Destructor Documentation

virtual ~IHasher (  )  [inline, virtual]

Destructor.

IHasher (  )  [inline, protected]

Constructor.


Member Function Documentation

virtual simba_uint64 Hash ( const simba_byte in_buffer,
simba_uint32  in_length 
) [pure 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.
virtual void Seed ( simba_uint32  in_seed  )  [pure virtual]

Set the seed for hashing.

Parameters:
in_seed the seed used for hashing.

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

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