Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

PerlHashAlgorithm< Key > Class Template Reference

templated hash algorithm class More...

#include <HashAlgorithms.h>

Inheritance diagram for PerlHashAlgorithm< Key >:

AHashAlgorithm< Key > List of all members.

Public Member Functions

virtual int Hash (const Key *key)
 Hash function.

Detailed Description

template<class Key>
class PerlHashAlgorithm< Key >

This hash algorithm was based from a function ripped from Perl source code

Definition at line 99 of file HashAlgorithms.h.


Member Function Documentation

template<class Key>
int PerlHashAlgorithm< Key >::Hash const Key *  key  )  [virtual]
 

Parameters:
key is the value to be hashed
Returns:
Returns hash value

Implements AHashAlgorithm< Key >.

Definition at line 109 of file HashAlgorithms.h.


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 11:20:17 2005 for Cpp Freecell Solver by  doxygen 1.4.4