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

AGenericHash.h File Reference

This file contains the AGenericHash class. More...

Go to the source code of this file.

Classes

class  AGenericHash< Key, ConfigData >
 An abstract, generic templated hash class. More...

Defines

#define NUM_PRIMES   sizeof(HashPrimesList)-1
 Number of primes in the primes list array.

Enumerations

enum  DeleteHashDataEnum { NO_DELETE_HASH_ITEM, DELETE_HASH_ITEM, DELETE_HASH_ITEM_ARRAY }
 How a hash data item should be deleted.

Functions

int FindClosestPrime (int Number)
 Find the closest prime to a particular number.


Detailed Description

Author:
Michael Mann
Version:
1.0
Date:
August 2002

Definition in file AGenericHash.h.


Function Documentation

int FindClosestPrime int  Number  )  [inline]
 

Parameters:
Number to find closest prime
Returns:
Closest prime

Definition at line 160 of file AGenericHash.h.

References NUM_PRIMES.

Referenced by FCInternalHash< Key, ConfigData >::FCInternalHash(), and GLIBHash< Key, ConfigData >::Resize().


Generated on Sat Nov 5 11:20:16 2005 for Cpp Freecell Solver by  doxygen 1.4.4